public interface SecondaryTable<T> extends Child<T>, OrmSecondaryTableCommType<T,SecondaryTable<T>,PrimaryKeyJoinColumn<SecondaryTable<T>>,UniqueConstraint<SecondaryTable<T>>>
secondary-table
xsd typeModifier and Type | Method and Description |
---|---|
SecondaryTable<T> |
catalog(String catalog)
Sets the
catalog attribute |
PrimaryKeyJoinColumn<SecondaryTable<T>> |
createPrimaryKeyJoinColumn()
Creates a new
primary-key-join-column element |
UniqueConstraint<SecondaryTable<T>> |
createUniqueConstraint()
Creates a new
unique-constraint element |
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 |
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> |
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> |
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-column
PrimaryKeyJoinColumn<SecondaryTable<T>> createPrimaryKeyJoinColumn()
primary-key-join-column
elementPrimaryKeyJoinColumn>
List<PrimaryKeyJoinColumn<SecondaryTable<T>>> getAllPrimaryKeyJoinColumn()
primary-key-join-column
elementsprimary-key-join-column
SecondaryTable<T> removeAllPrimaryKeyJoinColumn()
primary-key-join-column
elementsPrimaryKeyJoinColumn>
UniqueConstraint<SecondaryTable<T>> getOrCreateUniqueConstraint()
unique-constraint
element will be created and returned.
Otherwise, the first existing unique-constraint
element will be returned.unique-constraint
UniqueConstraint<SecondaryTable<T>> createUniqueConstraint()
unique-constraint
elementUniqueConstraint>
List<UniqueConstraint<SecondaryTable<T>>> getAllUniqueConstraint()
unique-constraint
elementsunique-constraint
SecondaryTable<T> removeAllUniqueConstraint()
unique-constraint
elementsUniqueConstraint>
SecondaryTable<T> name(String name)
name
attributename
- the value for the attribute name
SecondaryTable
String getName()
name
attributename
SecondaryTable<T> removeName()
name
attributeSecondaryTable
SecondaryTable<T> catalog(String catalog)
catalog
attributecatalog
- the value for the attribute catalog
SecondaryTable
String getCatalog()
catalog
attributecatalog
SecondaryTable<T> removeCatalog()
catalog
attributeSecondaryTable
SecondaryTable<T> schema(String schema)
schema
attributeschema
- the value for the attribute schema
SecondaryTable
String getSchema()
schema
attributeschema
SecondaryTable<T> removeSchema()
schema
attributeSecondaryTable
Copyright © 2019 JBoss by Red Hat. All rights reserved.