public interface JoinTable<T> extends Child<T>, OrmJoinTableCommType<T,JoinTable<T>,JoinColumn<JoinTable<T>>,JoinColumn<JoinTable<T>>,UniqueConstraint<JoinTable<T>>>
join-table
xsd typeModifier and Type | Method and Description |
---|---|
JoinTable<T> |
catalog(String catalog)
Sets the
catalog attribute |
Index<JoinTable<T>> |
createIndex()
Creates a new
index element |
JoinColumn<JoinTable<T>> |
createInverseJoinColumn()
Creates a new
inverse-join-column element |
JoinColumn<JoinTable<T>> |
createJoinColumn()
Creates a new
join-column element |
UniqueConstraint<JoinTable<T>> |
createUniqueConstraint()
Creates a new
unique-constraint element |
List<Index<JoinTable<T>>> |
getAllIndex()
Returns all
index elements |
List<JoinColumn<JoinTable<T>>> |
getAllInverseJoinColumn()
Returns all
inverse-join-column elements |
List<JoinColumn<JoinTable<T>>> |
getAllJoinColumn()
Returns all
join-column elements |
List<UniqueConstraint<JoinTable<T>>> |
getAllUniqueConstraint()
Returns all
unique-constraint elements |
String |
getCatalog()
Returns the
catalog attribute |
String |
getName()
Returns the
name attribute |
ForeignKey<JoinTable<T>> |
getOrCreateForeignKey()
If not already created, a new
foreign-key element with the given value will be created. |
Index<JoinTable<T>> |
getOrCreateIndex()
If not already created, a new
index element will be created and returned. |
ForeignKey<JoinTable<T>> |
getOrCreateInverseForeignKey()
If not already created, a new
inverse-foreign-key element with the given value will be created. |
JoinColumn<JoinTable<T>> |
getOrCreateInverseJoinColumn()
If not already created, a new
inverse-join-column element will be created and returned. |
JoinColumn<JoinTable<T>> |
getOrCreateJoinColumn()
If not already created, a new
join-column element will be created and returned. |
UniqueConstraint<JoinTable<T>> |
getOrCreateUniqueConstraint()
If not already created, a new
unique-constraint element will be created and returned. |
String |
getSchema()
Returns the
schema attribute |
JoinTable<T> |
name(String name)
Sets the
name attribute |
JoinTable<T> |
removeAllIndex()
Removes all
index elements |
JoinTable<T> |
removeAllInverseJoinColumn()
Removes all
inverse-join-column elements |
JoinTable<T> |
removeAllJoinColumn()
Removes all
join-column elements |
JoinTable<T> |
removeAllUniqueConstraint()
Removes all
unique-constraint elements |
JoinTable<T> |
removeCatalog()
Removes the
catalog attribute |
JoinTable<T> |
removeForeignKey()
Removes the
foreign-key element |
JoinTable<T> |
removeInverseForeignKey()
Removes the
inverse-foreign-key element |
JoinTable<T> |
removeName()
Removes the
name attribute |
JoinTable<T> |
removeSchema()
Removes the
schema attribute |
JoinTable<T> |
schema(String schema)
Sets the
schema attribute |
JoinColumn<JoinTable<T>> getOrCreateJoinColumn()
join-column
element will be created and returned.
Otherwise, the first existing join-column
element will be returned.join-column
JoinColumn<JoinTable<T>> createJoinColumn()
join-column
elementJoinColumn>
List<JoinColumn<JoinTable<T>>> getAllJoinColumn()
join-column
elementsjoin-column
JoinTable<T> removeAllJoinColumn()
join-column
elementsJoinColumn>
ForeignKey<JoinTable<T>> getOrCreateForeignKey()
foreign-key
element with the given value will be created.
Otherwise, the existing foreign-key
element will be returned.ForeignKey>
JoinTable<T> removeForeignKey()
foreign-key
elementJoinTable
JoinColumn<JoinTable<T>> getOrCreateInverseJoinColumn()
inverse-join-column
element will be created and returned.
Otherwise, the first existing inverse-join-column
element will be returned.inverse-join-column
JoinColumn<JoinTable<T>> createInverseJoinColumn()
inverse-join-column
elementJoinColumn>
List<JoinColumn<JoinTable<T>>> getAllInverseJoinColumn()
inverse-join-column
elementsinverse-join-column
JoinTable<T> removeAllInverseJoinColumn()
inverse-join-column
elementsJoinColumn>
ForeignKey<JoinTable<T>> getOrCreateInverseForeignKey()
inverse-foreign-key
element with the given value will be created.
Otherwise, the existing inverse-foreign-key
element will be returned.ForeignKey>
JoinTable<T> removeInverseForeignKey()
inverse-foreign-key
elementJoinTable
UniqueConstraint<JoinTable<T>> getOrCreateUniqueConstraint()
unique-constraint
element will be created and returned.
Otherwise, the first existing unique-constraint
element will be returned.unique-constraint
UniqueConstraint<JoinTable<T>> createUniqueConstraint()
unique-constraint
elementUniqueConstraint>
List<UniqueConstraint<JoinTable<T>>> getAllUniqueConstraint()
unique-constraint
elementsunique-constraint
JoinTable<T> removeAllUniqueConstraint()
unique-constraint
elementsUniqueConstraint>
Index<JoinTable<T>> getOrCreateIndex()
index
element will be created and returned.
Otherwise, the first existing index
element will be returned.index
Index<JoinTable<T>> createIndex()
index
elementIndex>
List<Index<JoinTable<T>>> getAllIndex()
index
elementsindex
JoinTable<T> removeAllIndex()
index
elementsIndex>
JoinTable<T> name(String name)
name
attributename
- the value for the attribute name
JoinTable
String getName()
name
attributename
JoinTable<T> removeName()
name
attributeJoinTable
JoinTable<T> catalog(String catalog)
catalog
attributecatalog
- the value for the attribute catalog
JoinTable
String getCatalog()
catalog
attributecatalog
JoinTable<T> removeCatalog()
catalog
attributeJoinTable
JoinTable<T> schema(String schema)
schema
attributeschema
- the value for the attribute schema
JoinTable
String getSchema()
schema
attributeschema
Copyright © 2017 JBoss by Red Hat. All rights reserved.