
public interface SecondaryTable<T> extends Child<T>, OrmSecondaryTableCommType<T,SecondaryTable<T>,PrimaryKeyJoinColumn<SecondaryTable<T>>,UniqueConstraint<SecondaryTable<T>>>
secondary-table xsd type| Modifier and Type | Method and Description |
|---|---|
SecondaryTable<T> |
catalog(String catalog)
Sets the
catalog attribute |
Index<SecondaryTable<T>> |
createIndex()
Creates a new
index element |
PrimaryKeyJoinColumn<SecondaryTable<T>> |
createPrimaryKeyJoinColumn()
Creates a new
primary-key-join-column element |
UniqueConstraint<SecondaryTable<T>> |
createUniqueConstraint()
Creates a new
unique-constraint element |
List<Index<SecondaryTable<T>>> |
getAllIndex()
Returns all
index elements |
List<PrimaryKeyJoinColumn<SecondaryTable<T>>> |
getAllPrimaryKeyJoinColumn()
Returns all
primary-key-join-column elements |
List<UniqueConstraint<SecondaryTable<T>>> |
getAllUniqueConstraint()
Returns all
unique-constraint elements |
String |
getCatalog()
Returns the
catalog attribute |
String |
getName()
Returns the
name attribute |
Index<SecondaryTable<T>> |
getOrCreateIndex()
If not already created, a new
index element will be created and returned. |
ForeignKey<SecondaryTable<T>> |
getOrCreatePrimaryKeyForeignKey()
If not already created, a new
primary-key-foreign-key element with the given value will be created. |
PrimaryKeyJoinColumn<SecondaryTable<T>> |
getOrCreatePrimaryKeyJoinColumn()
If not already created, a new
primary-key-join-column element will be created and returned. |
UniqueConstraint<SecondaryTable<T>> |
getOrCreateUniqueConstraint()
If not already created, a new
unique-constraint element will be created and returned. |
String |
getSchema()
Returns the
schema attribute |
SecondaryTable<T> |
name(String name)
Sets the
name attribute |
SecondaryTable<T> |
removeAllIndex()
Removes all
index elements |
SecondaryTable<T> |
removeAllPrimaryKeyJoinColumn()
Removes all
primary-key-join-column elements |
SecondaryTable<T> |
removeAllUniqueConstraint()
Removes all
unique-constraint elements |
SecondaryTable<T> |
removeCatalog()
Removes the
catalog attribute |
SecondaryTable<T> |
removeName()
Removes the
name attribute |
SecondaryTable<T> |
removePrimaryKeyForeignKey()
Removes the
primary-key-foreign-key element |
SecondaryTable<T> |
removeSchema()
Removes the
schema attribute |
SecondaryTable<T> |
schema(String schema)
Sets the
schema attribute |
PrimaryKeyJoinColumn<SecondaryTable<T>> getOrCreatePrimaryKeyJoinColumn()
primary-key-join-column element will be created and returned.
Otherwise, the first existing primary-key-join-column element will be returned.primary-key-join-columnPrimaryKeyJoinColumn<SecondaryTable<T>> createPrimaryKeyJoinColumn()
primary-key-join-column elementPrimaryKeyJoinColumn> List<PrimaryKeyJoinColumn<SecondaryTable<T>>> getAllPrimaryKeyJoinColumn()
primary-key-join-column elementsprimary-key-join-columnSecondaryTable<T> removeAllPrimaryKeyJoinColumn()
primary-key-join-column elementsPrimaryKeyJoinColumn> ForeignKey<SecondaryTable<T>> getOrCreatePrimaryKeyForeignKey()
primary-key-foreign-key element with the given value will be created.
Otherwise, the existing primary-key-foreign-key element will be returned.ForeignKey> SecondaryTable<T> removePrimaryKeyForeignKey()
primary-key-foreign-key elementSecondaryTableUniqueConstraint<SecondaryTable<T>> getOrCreateUniqueConstraint()
unique-constraint element will be created and returned.
Otherwise, the first existing unique-constraint element will be returned.unique-constraintUniqueConstraint<SecondaryTable<T>> createUniqueConstraint()
unique-constraint elementUniqueConstraint> List<UniqueConstraint<SecondaryTable<T>>> getAllUniqueConstraint()
unique-constraint elementsunique-constraintSecondaryTable<T> removeAllUniqueConstraint()
unique-constraint elementsUniqueConstraint> Index<SecondaryTable<T>> getOrCreateIndex()
index element will be created and returned.
Otherwise, the first existing index element will be returned.indexIndex<SecondaryTable<T>> createIndex()
index elementIndex> List<Index<SecondaryTable<T>>> getAllIndex()
index elementsindexSecondaryTable<T> removeAllIndex()
index elementsIndex> SecondaryTable<T> name(String name)
name attributename - the value for the attribute nameSecondaryTableString getName()
name attributenameSecondaryTable<T> removeName()
name attributeSecondaryTableSecondaryTable<T> catalog(String catalog)
catalog attributecatalog - the value for the attribute catalogSecondaryTableString getCatalog()
catalog attributecatalogSecondaryTable<T> removeCatalog()
catalog attributeSecondaryTableSecondaryTable<T> schema(String schema)
schema attributeschema - the value for the attribute schemaSecondaryTableString getSchema()
schema attributeschemaSecondaryTable<T> removeSchema()
schema attributeSecondaryTableCopyright © 2021 JBoss by Red Hat. All rights reserved.