public interface Table<T> extends Child<T>, OrmTableCommType<T,Table<T>,UniqueConstraint<Table<T>>>
table
xsd typeModifier and Type | Method and Description |
---|---|
Table<T> |
catalog(String catalog)
Sets the
catalog attribute |
UniqueConstraint<Table<T>> |
createUniqueConstraint()
Creates a new
unique-constraint element |
List<UniqueConstraint<Table<T>>> |
getAllUniqueConstraint()
Returns all
unique-constraint elements |
String |
getCatalog()
Returns the
catalog attribute |
String |
getName()
Returns the
name attribute |
UniqueConstraint<Table<T>> |
getOrCreateUniqueConstraint()
If not already created, a new
unique-constraint element will be created and returned. |
String |
getSchema()
Returns the
schema attribute |
Table<T> |
name(String name)
Sets the
name attribute |
Table<T> |
removeAllUniqueConstraint()
Removes all
unique-constraint elements |
Table<T> |
removeCatalog()
Removes the
catalog attribute |
Table<T> |
removeName()
Removes the
name attribute |
Table<T> |
removeSchema()
Removes the
schema attribute |
Table<T> |
schema(String schema)
Sets the
schema attribute |
UniqueConstraint<Table<T>> getOrCreateUniqueConstraint()
unique-constraint
element will be created and returned.
Otherwise, the first existing unique-constraint
element will be returned.unique-constraint
UniqueConstraint<Table<T>> createUniqueConstraint()
unique-constraint
elementUniqueConstraint>
-
getAllUniqueConstraint
List<UniqueConstraint<Table<T>>> getAllUniqueConstraint()
Returns all unique-constraint
elements
- Returns:
- list of
unique-constraint
-
removeAllUniqueConstraint
Table<T> removeAllUniqueConstraint()
Removes all unique-constraint
elements
- Returns:
- the current instance of
UniqueConstraint>
-
name
Table<T> name(String name)
Sets the name
attribute
- Parameters:
name
- the value for the attribute name
- Returns:
- the current instance of
Table
-
getName
String getName()
Returns the name
attribute
- Returns:
- the value defined for the attribute
name
-
catalog
Table<T> catalog(String catalog)
Sets the catalog
attribute
- Parameters:
catalog
- the value for the attribute catalog
- Returns:
- the current instance of
Table
-
getCatalog
String getCatalog()
Returns the catalog
attribute
- Returns:
- the value defined for the attribute
catalog
-
removeCatalog
Table<T> removeCatalog()
Removes the catalog
attribute
- Returns:
- the current instance of
Table
-
schema
Table<T> schema(String schema)
Sets the schema
attribute
- Parameters:
schema
- the value for the attribute schema
- Returns:
- the current instance of
Table
-
getSchema
String getSchema()
Returns the schema
attribute
- Returns:
- the value defined for the attribute
schema
-
removeSchema
Table<T> removeSchema()
Removes the schema
attribute
- Returns:
- the current instance of
Table
Copyright © 2021 JBoss by Red Hat. All rights reserved.