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 |
---|---|
SecondaryTable<T> |
SecondaryTable.catalog(String catalog)
Sets the
catalog attribute |
SecondaryTable<Entity<T>> |
Entity.createSecondaryTable()
Creates a new
secondary-table element |
SecondaryTable<Entity<T>> |
Entity.getOrCreateSecondaryTable()
If not already created, a new
secondary-table element will be created and returned. |
SecondaryTable<T> |
SecondaryTable.name(String name)
Sets the
name attribute |
SecondaryTable<T> |
SecondaryTable.removeAllIndex()
Removes all
index elements |
SecondaryTable<T> |
SecondaryTable.removeAllPrimaryKeyJoinColumn()
Removes all
primary-key-join-column elements |
SecondaryTable<T> |
SecondaryTable.removeAllUniqueConstraint()
Removes all
unique-constraint elements |
SecondaryTable<T> |
SecondaryTable.removeCatalog()
Removes the
catalog attribute |
SecondaryTable<T> |
SecondaryTable.removeName()
Removes the
name attribute |
SecondaryTable<T> |
SecondaryTable.removePrimaryKeyForeignKey()
Removes the
primary-key-foreign-key element |
SecondaryTable<T> |
SecondaryTable.removeSchema()
Removes the
schema attribute |
SecondaryTable<T> |
SecondaryTable.schema(String schema)
Sets the
schema attribute |
Modifier and Type | Method and Description |
---|---|
Index<SecondaryTable<T>> |
SecondaryTable.createIndex()
Creates a new
index element |
PrimaryKeyJoinColumn<SecondaryTable<T>> |
SecondaryTable.createPrimaryKeyJoinColumn()
Creates a new
primary-key-join-column element |
UniqueConstraint<SecondaryTable<T>> |
SecondaryTable.createUniqueConstraint()
Creates a new
unique-constraint element |
List<Index<SecondaryTable<T>>> |
SecondaryTable.getAllIndex()
Returns all
index elements |
List<PrimaryKeyJoinColumn<SecondaryTable<T>>> |
SecondaryTable.getAllPrimaryKeyJoinColumn()
Returns all
primary-key-join-column elements |
List<SecondaryTable<Entity<T>>> |
Entity.getAllSecondaryTable()
Returns all
secondary-table elements |
List<UniqueConstraint<SecondaryTable<T>>> |
SecondaryTable.getAllUniqueConstraint()
Returns all
unique-constraint elements |
Index<SecondaryTable<T>> |
SecondaryTable.getOrCreateIndex()
If not already created, a new
index element will be created and returned. |
ForeignKey<SecondaryTable<T>> |
SecondaryTable.getOrCreatePrimaryKeyForeignKey()
If not already created, a new
primary-key-foreign-key element with the given value will be created. |
PrimaryKeyJoinColumn<SecondaryTable<T>> |
SecondaryTable.getOrCreatePrimaryKeyJoinColumn()
If not already created, a new
primary-key-join-column element will be created and returned. |
UniqueConstraint<SecondaryTable<T>> |
SecondaryTable.getOrCreateUniqueConstraint()
If not already created, a new
unique-constraint element will be created and returned. |
Copyright © 2020 JBoss by Red Hat. All rights reserved.