Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.orm21 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
TableGenerator<T> |
TableGenerator.allocationSize(Integer allocationSize)
Sets the
allocation-size attribute |
TableGenerator<T> |
TableGenerator.catalog(String catalog)
Sets the
catalog attribute |
TableGenerator<OrmDescriptor> |
OrmDescriptor.createTableGenerator()
Creates a new
table-generator element |
TableGenerator<T> |
TableGenerator.description(String description)
Sets the
description element |
TableGenerator<Id<T>> |
Id.getOrCreateTableGenerator()
If not already created, a new
table-generator element with the given value will be created. |
TableGenerator<OrmDescriptor> |
OrmDescriptor.getOrCreateTableGenerator()
If not already created, a new
table-generator element will be created and returned. |
TableGenerator<Entity<T>> |
Entity.getOrCreateTableGenerator()
If not already created, a new
table-generator element with the given value will be created. |
TableGenerator<T> |
TableGenerator.initialValue(Integer initialValue)
Sets the
initial-value attribute |
TableGenerator<T> |
TableGenerator.name(String name)
Sets the
name attribute |
TableGenerator<T> |
TableGenerator.pkColumnName(String pkColumnName)
Sets the
pk-column-name attribute |
TableGenerator<T> |
TableGenerator.pkColumnValue(String pkColumnValue)
Sets the
pk-column-value attribute |
TableGenerator<T> |
TableGenerator.removeAllIndex()
Removes all
index elements |
TableGenerator<T> |
TableGenerator.removeAllocationSize()
Removes the
allocation-size attribute |
TableGenerator<T> |
TableGenerator.removeAllUniqueConstraint()
Removes all
unique-constraint elements |
TableGenerator<T> |
TableGenerator.removeCatalog()
Removes the
catalog attribute |
TableGenerator<T> |
TableGenerator.removeDescription()
Removes the
description element |
TableGenerator<T> |
TableGenerator.removeInitialValue()
Removes the
initial-value attribute |
TableGenerator<T> |
TableGenerator.removeName()
Removes the
name attribute |
TableGenerator<T> |
TableGenerator.removePkColumnName()
Removes the
pk-column-name attribute |
TableGenerator<T> |
TableGenerator.removePkColumnValue()
Removes the
pk-column-value attribute |
TableGenerator<T> |
TableGenerator.removeSchema()
Removes the
schema attribute |
TableGenerator<T> |
TableGenerator.removeTable()
Removes the
table attribute |
TableGenerator<T> |
TableGenerator.removeValueColumnName()
Removes the
value-column-name attribute |
TableGenerator<T> |
TableGenerator.schema(String schema)
Sets the
schema attribute |
TableGenerator<T> |
TableGenerator.table(String table)
Sets the
table attribute |
TableGenerator<T> |
TableGenerator.valueColumnName(String valueColumnName)
Sets the
value-column-name attribute |
Modifier and Type | Method and Description |
---|---|
Index<TableGenerator<T>> |
TableGenerator.createIndex()
Creates a new
index element |
UniqueConstraint<TableGenerator<T>> |
TableGenerator.createUniqueConstraint()
Creates a new
unique-constraint element |
List<Index<TableGenerator<T>>> |
TableGenerator.getAllIndex()
Returns all
index elements |
List<TableGenerator<OrmDescriptor>> |
OrmDescriptor.getAllTableGenerator()
Returns all
table-generator elements |
List<UniqueConstraint<TableGenerator<T>>> |
TableGenerator.getAllUniqueConstraint()
Returns all
unique-constraint elements |
Index<TableGenerator<T>> |
TableGenerator.getOrCreateIndex()
If not already created, a new
index element will be created and returned. |
UniqueConstraint<TableGenerator<T>> |
TableGenerator.getOrCreateUniqueConstraint()
If not already created, a new
unique-constraint element will be created and returned. |
Copyright © 2024 JBoss by Red Hat. All rights reserved.