
public interface TableGenerator<T> extends Child<T>, OrmTableGeneratorCommType<T,TableGenerator<T>,UniqueConstraint<TableGenerator<T>>>
table-generator xsd type| Modifier and Type | Method and Description |
|---|---|
TableGenerator<T> |
allocationSize(Integer allocationSize)
Sets the
allocation-size attribute |
TableGenerator<T> |
catalog(String catalog)
Sets the
catalog attribute |
Index<TableGenerator<T>> |
createIndex()
Creates a new
index element |
UniqueConstraint<TableGenerator<T>> |
createUniqueConstraint()
Creates a new
unique-constraint element |
TableGenerator<T> |
description(String description)
Sets the
description element |
List<Index<TableGenerator<T>>> |
getAllIndex()
Returns all
index elements |
Integer |
getAllocationSize()
Returns the
allocation-size attribute |
List<UniqueConstraint<TableGenerator<T>>> |
getAllUniqueConstraint()
Returns all
unique-constraint elements |
String |
getCatalog()
Returns the
catalog attribute |
String |
getDescription()
Returns the
description element |
Integer |
getInitialValue()
Returns the
initial-value attribute |
String |
getName()
Returns the
name attribute |
Index<TableGenerator<T>> |
getOrCreateIndex()
If not already created, a new
index element will be created and returned. |
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> |
removeAllIndex()
Removes all
index elements |
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> |
removeDescription()
Removes the
description element |
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 |
TableGenerator<T> description(String description)
description elementdescription - the value for the element descriptionTableGeneratorString getDescription()
description elementdescriptionTableGenerator<T> removeDescription()
description elementTableGeneratorUniqueConstraint<TableGenerator<T>> getOrCreateUniqueConstraint()
unique-constraint element will be created and returned.
Otherwise, the first existing unique-constraint element will be returned.unique-constraintUniqueConstraint<TableGenerator<T>> createUniqueConstraint()
unique-constraint elementUniqueConstraint> List<UniqueConstraint<TableGenerator<T>>> getAllUniqueConstraint()
unique-constraint elementsunique-constraintTableGenerator<T> removeAllUniqueConstraint()
unique-constraint elementsUniqueConstraint> Index<TableGenerator<T>> getOrCreateIndex()
index element will be created and returned.
Otherwise, the first existing index element will be returned.indexIndex<TableGenerator<T>> createIndex()
index elementIndex> List<Index<TableGenerator<T>>> getAllIndex()
index elementsindexTableGenerator<T> removeAllIndex()
index elementsIndex> TableGenerator<T> name(String name)
name attributename - the value for the attribute nameTableGeneratorString getName()
name attributenameTableGenerator<T> removeName()
name attributeTableGeneratorTableGenerator<T> table(String table)
table attributetable - the value for the attribute tableTableGeneratorString getTable()
table attributetableTableGenerator<T> removeTable()
table attributeTableGeneratorTableGenerator<T> catalog(String catalog)
catalog attributecatalog - the value for the attribute catalogTableGeneratorString getCatalog()
catalog attributecatalogTableGenerator<T> removeCatalog()
catalog attributeTableGeneratorTableGenerator<T> schema(String schema)
schema attributeschema - the value for the attribute schemaTableGeneratorString getSchema()
schema attributeschemaTableGenerator<T> removeSchema()
schema attributeTableGeneratorTableGenerator<T> pkColumnName(String pkColumnName)
pk-column-name attributepkColumnName - the value for the attribute pk-column-nameTableGeneratorString getPkColumnName()
pk-column-name attributepk-column-nameTableGenerator<T> removePkColumnName()
pk-column-name attributeTableGeneratorTableGenerator<T> valueColumnName(String valueColumnName)
value-column-name attributevalueColumnName - the value for the attribute value-column-nameTableGeneratorString getValueColumnName()
value-column-name attributevalue-column-nameTableGenerator<T> removeValueColumnName()
value-column-name attributeTableGeneratorTableGenerator<T> pkColumnValue(String pkColumnValue)
pk-column-value attributepkColumnValue - the value for the attribute pk-column-valueTableGeneratorString getPkColumnValue()
pk-column-value attributepk-column-valueTableGenerator<T> removePkColumnValue()
pk-column-value attributeTableGeneratorTableGenerator<T> initialValue(Integer initialValue)
initial-value attributeinitialValue - the value for the attribute initial-valueTableGeneratorInteger getInitialValue()
initial-value attributeinitial-valueTableGenerator<T> removeInitialValue()
initial-value attributeTableGeneratorTableGenerator<T> allocationSize(Integer allocationSize)
allocation-size attributeallocationSize - the value for the attribute allocation-sizeTableGeneratorInteger getAllocationSize()
allocation-size attributeallocation-sizeTableGenerator<T> removeAllocationSize()
allocation-size attributeTableGeneratorCopyright © 2025 JBoss by Red Hat. All rights reserved.