
public interface CollectionTable<T> extends Child<T>, OrmCollectionTableCommType<T,CollectionTable<T>,JoinColumn<CollectionTable<T>>,UniqueConstraint<CollectionTable<T>>>
collection-table xsd type| Modifier 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-columnJoinColumn<CollectionTable<T>> createJoinColumn()
join-column elementJoinColumn> List<JoinColumn<CollectionTable<T>>> getAllJoinColumn()
join-column elementsjoin-columnCollectionTable<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 elementCollectionTableUniqueConstraint<CollectionTable<T>> getOrCreateUniqueConstraint()
unique-constraint element will be created and returned.
Otherwise, the first existing unique-constraint element will be returned.unique-constraintUniqueConstraint<CollectionTable<T>> createUniqueConstraint()
unique-constraint elementUniqueConstraint> List<UniqueConstraint<CollectionTable<T>>> getAllUniqueConstraint()
unique-constraint elementsunique-constraintCollectionTable<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.indexIndex<CollectionTable<T>> createIndex()
index elementIndex> List<Index<CollectionTable<T>>> getAllIndex()
index elementsindexCollectionTable<T> removeAllIndex()
index elementsIndex> CollectionTable<T> name(String name)
name attributename - the value for the attribute nameCollectionTableString getName()
name attributenameCollectionTable<T> removeName()
name attributeCollectionTableCollectionTable<T> catalog(String catalog)
catalog attributecatalog - the value for the attribute catalogCollectionTableString getCatalog()
catalog attributecatalogCollectionTable<T> removeCatalog()
catalog attributeCollectionTableCollectionTable<T> schema(String schema)
schema attributeschema - the value for the attribute schemaCollectionTableString getSchema()
schema attributeschemaCollectionTable<T> removeSchema()
schema attributeCollectionTableCopyright © 2021 JBoss by Red Hat. All rights reserved.