|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecondaryTable<T>
This interface defines the contract for the secondary-table
xsd type
Method Summary | |
---|---|
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
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
element
PrimaryKeyJoinColumn>
List<PrimaryKeyJoinColumn<SecondaryTable<T>>> getAllPrimaryKeyJoinColumn()
primary-key-join-column
elements
primary-key-join-column
SecondaryTable<T> removeAllPrimaryKeyJoinColumn()
primary-key-join-column
elements
PrimaryKeyJoinColumn>
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
element
UniqueConstraint>
List<UniqueConstraint<SecondaryTable<T>>> getAllUniqueConstraint()
unique-constraint
elements
unique-constraint
SecondaryTable<T> removeAllUniqueConstraint()
unique-constraint
elements
UniqueConstraint>
SecondaryTable<T> name(String name)
name
attribute
name
- the value for the attribute name
SecondaryTable
String getName()
name
attribute
name
SecondaryTable<T> removeName()
name
attribute
SecondaryTable
SecondaryTable<T> catalog(String catalog)
catalog
attribute
catalog
- the value for the attribute catalog
SecondaryTable
String getCatalog()
catalog
attribute
catalog
SecondaryTable<T> removeCatalog()
catalog
attribute
SecondaryTable
SecondaryTable<T> schema(String schema)
schema
attribute
schema
- the value for the attribute schema
SecondaryTable
String getSchema()
schema
attribute
schema
SecondaryTable<T> removeSchema()
schema
attribute
SecondaryTable
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |