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