|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableGenerator<T>
This interface defines the contract for the table-generator
xsd type
Method Summary | |
---|---|
TableGenerator<T> |
allocationSize(Integer allocationSize)
Sets the allocation-size attribute |
TableGenerator<T> |
catalog(String catalog)
Sets the catalog attribute |
UniqueConstraint<TableGenerator<T>> |
createUniqueConstraint()
Creates a new unique-constraint element |
Integer |
getAllocationSize()
Returns the allocation-size attribute |
List<UniqueConstraint<TableGenerator<T>>> |
getAllUniqueConstraint()
Returns all unique-constraint elements |
String |
getCatalog()
Returns the catalog attribute |
Integer |
getInitialValue()
Returns the initial-value attribute |
String |
getName()
Returns the name attribute |
UniqueConstraint<TableGenerator<T>> |
getOrCreateUniqueConstraint()
If not already created, a new unique-constraint element will be created and returned. |
String |
getPkColumnName()
Returns the pk-column-name attribute |
String |
getPkColumnValue()
Returns the pk-column-value attribute |
String |
getSchema()
Returns the schema attribute |
String |
getTable()
Returns the table attribute |
String |
getValueColumnName()
Returns the value-column-name attribute |
TableGenerator<T> |
initialValue(Integer initialValue)
Sets the initial-value attribute |
TableGenerator<T> |
name(String name)
Sets the name attribute |
TableGenerator<T> |
pkColumnName(String pkColumnName)
Sets the pk-column-name attribute |
TableGenerator<T> |
pkColumnValue(String pkColumnValue)
Sets the pk-column-value attribute |
TableGenerator<T> |
removeAllocationSize()
Removes the allocation-size attribute |
TableGenerator<T> |
removeAllUniqueConstraint()
Removes all unique-constraint elements |
TableGenerator<T> |
removeCatalog()
Removes the catalog attribute |
TableGenerator<T> |
removeInitialValue()
Removes the initial-value attribute |
TableGenerator<T> |
removeName()
Removes the name attribute |
TableGenerator<T> |
removePkColumnName()
Removes the pk-column-name attribute |
TableGenerator<T> |
removePkColumnValue()
Removes the pk-column-value attribute |
TableGenerator<T> |
removeSchema()
Removes the schema attribute |
TableGenerator<T> |
removeTable()
Removes the table attribute |
TableGenerator<T> |
removeValueColumnName()
Removes the value-column-name attribute |
TableGenerator<T> |
schema(String schema)
Sets the schema attribute |
TableGenerator<T> |
table(String table)
Sets the table attribute |
TableGenerator<T> |
valueColumnName(String valueColumnName)
Sets the value-column-name attribute |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
UniqueConstraint<TableGenerator<T>> getOrCreateUniqueConstraint()
unique-constraint
element will be created and returned.
Otherwise, the first existing unique-constraint
element will be returned.
unique-constraint
UniqueConstraint<TableGenerator<T>> createUniqueConstraint()
unique-constraint
element
UniqueConstraint>
List<UniqueConstraint<TableGenerator<T>>> getAllUniqueConstraint()
unique-constraint
elements
unique-constraint
TableGenerator<T> removeAllUniqueConstraint()
unique-constraint
elements
UniqueConstraint>
TableGenerator<T> name(String name)
name
attribute
name
- the value for the attribute name
TableGenerator
String getName()
name
attribute
name
TableGenerator<T> removeName()
name
attribute
TableGenerator
TableGenerator<T> table(String table)
table
attribute
table
- the value for the attribute table
TableGenerator
String getTable()
table
attribute
table
TableGenerator<T> removeTable()
table
attribute
TableGenerator
TableGenerator<T> catalog(String catalog)
catalog
attribute
catalog
- the value for the attribute catalog
TableGenerator
String getCatalog()
catalog
attribute
catalog
TableGenerator<T> removeCatalog()
catalog
attribute
TableGenerator
TableGenerator<T> schema(String schema)
schema
attribute
schema
- the value for the attribute schema
TableGenerator
String getSchema()
schema
attribute
schema
TableGenerator<T> removeSchema()
schema
attribute
TableGenerator
TableGenerator<T> pkColumnName(String pkColumnName)
pk-column-name
attribute
pkColumnName
- the value for the attribute pk-column-name
TableGenerator
String getPkColumnName()
pk-column-name
attribute
pk-column-name
TableGenerator<T> removePkColumnName()
pk-column-name
attribute
TableGenerator
TableGenerator<T> valueColumnName(String valueColumnName)
value-column-name
attribute
valueColumnName
- the value for the attribute value-column-name
TableGenerator
String getValueColumnName()
value-column-name
attribute
value-column-name
TableGenerator<T> removeValueColumnName()
value-column-name
attribute
TableGenerator
TableGenerator<T> pkColumnValue(String pkColumnValue)
pk-column-value
attribute
pkColumnValue
- the value for the attribute pk-column-value
TableGenerator
String getPkColumnValue()
pk-column-value
attribute
pk-column-value
TableGenerator<T> removePkColumnValue()
pk-column-value
attribute
TableGenerator
TableGenerator<T> initialValue(Integer initialValue)
initial-value
attribute
initialValue
- the value for the attribute initial-value
TableGenerator
Integer getInitialValue()
initial-value
attribute
initial-value
TableGenerator<T> removeInitialValue()
initial-value
attribute
TableGenerator
TableGenerator<T> allocationSize(Integer allocationSize)
allocation-size
attribute
allocationSize
- the value for the attribute allocation-size
TableGenerator
Integer getAllocationSize()
allocation-size
attribute
allocation-size
TableGenerator<T> removeAllocationSize()
allocation-size
attribute
TableGenerator
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |