|
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 AssociationOverride<T>
This interface defines the contract for the association-override
xsd type
Method Summary | |
---|---|
JoinColumn<AssociationOverride<T>> |
createJoinColumn()
Creates a new join-column element |
AssociationOverride<T> |
description(String description)
Sets the description element |
List<JoinColumn<AssociationOverride<T>>> |
getAllJoinColumn()
Returns all join-column elements |
String |
getDescription()
Returns the description element |
String |
getName()
Returns the name attribute |
JoinColumn<AssociationOverride<T>> |
getOrCreateJoinColumn()
If not already created, a new join-column element will be created and returned. |
JoinTable<AssociationOverride<T>> |
getOrCreateJoinTable()
If not already created, a new join-table element with the given value will be created. |
AssociationOverride<T> |
name(String name)
Sets the name attribute |
AssociationOverride<T> |
removeAllJoinColumn()
Removes all join-column elements |
AssociationOverride<T> |
removeDescription()
Removes the description element |
AssociationOverride<T> |
removeJoinTable()
Removes the join-table element |
AssociationOverride<T> |
removeName()
Removes the name attribute |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
AssociationOverride<T> description(String description)
description
element
description
- the value for the element description
AssociationOverride
String getDescription()
description
element
description
AssociationOverride<T> removeDescription()
description
element
AssociationOverride
JoinColumn<AssociationOverride<T>> getOrCreateJoinColumn()
join-column
element will be created and returned.
Otherwise, the first existing join-column
element will be returned.
join-column
JoinColumn<AssociationOverride<T>> createJoinColumn()
join-column
element
JoinColumn>
List<JoinColumn<AssociationOverride<T>>> getAllJoinColumn()
join-column
elements
join-column
AssociationOverride<T> removeAllJoinColumn()
join-column
elements
JoinColumn>
JoinTable<AssociationOverride<T>> getOrCreateJoinTable()
join-table
element with the given value will be created.
Otherwise, the existing join-table
element will be returned.
JoinTable>
AssociationOverride<T> removeJoinTable()
join-table
element
AssociationOverride
AssociationOverride<T> name(String name)
name
attribute
name
- the value for the attribute name
AssociationOverride
String getName()
name
attribute
name
AssociationOverride<T> removeName()
name
attribute
AssociationOverride
|
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 |