public interface TableGenerator<T> extends Child<T>
table-generator
xsd typeModifier and Type | Method and Description |
---|---|
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 |
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
elementUniqueConstraint>
List<UniqueConstraint<TableGenerator<T>>> getAllUniqueConstraint()
unique-constraint
elementsunique-constraint
TableGenerator<T> removeAllUniqueConstraint()
unique-constraint
elementsUniqueConstraint>
TableGenerator<T> name(String name)
name
attributename
- the value for the attribute name
TableGenerator
String getName()
name
attributename
TableGenerator<T> removeName()
name
attributeTableGenerator
TableGenerator<T> table(String table)
table
attributetable
- the value for the attribute table
TableGenerator
String getTable()
table
attributetable
TableGenerator<T> removeTable()
table
attributeTableGenerator
TableGenerator<T> catalog(String catalog)
catalog
attributecatalog
- the value for the attribute catalog
TableGenerator
String getCatalog()
catalog
attributecatalog
TableGenerator<T> removeCatalog()
catalog
attributeTableGenerator
TableGenerator<T> schema(String schema)
schema
attributeschema
- the value for the attribute schema
TableGenerator
String getSchema()
schema
attributeschema
TableGenerator<T> removeSchema()
schema
attributeTableGenerator
TableGenerator<T> pkColumnName(String pkColumnName)
pk-column-name
attributepkColumnName
- the value for the attribute pk-column-name
TableGenerator
String getPkColumnName()
pk-column-name
attributepk-column-name
TableGenerator<T> removePkColumnName()
pk-column-name
attributeTableGenerator
TableGenerator<T> valueColumnName(String valueColumnName)
value-column-name
attributevalueColumnName
- the value for the attribute value-column-name
TableGenerator
String getValueColumnName()
value-column-name
attributevalue-column-name
TableGenerator<T> removeValueColumnName()
value-column-name
attributeTableGenerator
TableGenerator<T> pkColumnValue(String pkColumnValue)
pk-column-value
attributepkColumnValue
- the value for the attribute pk-column-value
TableGenerator
String getPkColumnValue()
pk-column-value
attributepk-column-value
TableGenerator<T> removePkColumnValue()
pk-column-value
attributeTableGenerator
TableGenerator<T> initialValue(Integer initialValue)
initial-value
attributeinitialValue
- the value for the attribute initial-value
TableGenerator
Integer getInitialValue()
initial-value
attributeinitial-value
TableGenerator<T> removeInitialValue()
initial-value
attributeTableGenerator
TableGenerator<T> allocationSize(Integer allocationSize)
allocation-size
attributeallocationSize
- the value for the attribute allocation-size
TableGenerator
Integer getAllocationSize()
allocation-size
attributeallocation-size
TableGenerator<T> removeAllocationSize()
allocation-size
attributeTableGenerator
Copyright © 2017 JBoss by Red Hat. All rights reserved.