|
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 JoinTable<T>
This interface defines the contract for the join-table
xsd type
Method Summary | |
---|---|
JoinTable<T> |
catalog(String catalog)
Sets the catalog attribute |
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<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 |
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> |
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> |
removeName()
Removes the name attribute |
JoinTable<T> |
removeSchema()
Removes the schema attribute |
JoinTable<T> |
schema(String schema)
Sets the schema attribute |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
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
element
JoinColumn>
List<JoinColumn<JoinTable<T>>> getAllJoinColumn()
join-column
elements
join-column
JoinTable<T> removeAllJoinColumn()
join-column
elements
JoinColumn>
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
element
JoinColumn>
List<JoinColumn<JoinTable<T>>> getAllInverseJoinColumn()
inverse-join-column
elements
inverse-join-column
JoinTable<T> removeAllInverseJoinColumn()
inverse-join-column
elements
JoinColumn>
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
element
UniqueConstraint>
List<UniqueConstraint<JoinTable<T>>> getAllUniqueConstraint()
unique-constraint
elements
unique-constraint
JoinTable<T> removeAllUniqueConstraint()
unique-constraint
elements
UniqueConstraint>
JoinTable<T> name(String name)
name
attribute
name
- the value for the attribute name
JoinTable
String getName()
name
attribute
name
JoinTable<T> removeName()
name
attribute
JoinTable
JoinTable<T> catalog(String catalog)
catalog
attribute
catalog
- the value for the attribute catalog
JoinTable
String getCatalog()
catalog
attribute
catalog
JoinTable<T> removeCatalog()
catalog
attribute
JoinTable
JoinTable<T> schema(String schema)
schema
attribute
schema
- the value for the attribute schema
JoinTable
String getSchema()
schema
attribute
schema
JoinTable<T> removeSchema()
schema
attribute
JoinTable
|
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 |