|
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 EjbRelationshipRoleType<T>
This interface defines the contract for the ejb-relationship-roleType
xsd type
Method Summary | |
---|---|
EjbRelationshipRoleType<T> |
cascadeDelete()
Sets the cascade-delete element |
EjbRelationshipRoleType<T> |
description(String... values)
Creates for all String objects representing description elements,
a new description element |
EjbRelationshipRoleType<T> |
ejbRelationshipRoleName(String ejbRelationshipRoleName)
Sets the ejb-relationship-role-name element |
List<String> |
getAllDescription()
Returns all description elements |
String |
getEjbRelationshipRoleName()
Returns the ejb-relationship-role-name element |
MultiplicityType |
getMultiplicity()
Returns the multiplicity element |
String |
getMultiplicityAsString()
Returns the multiplicity element |
CmrFieldType<EjbRelationshipRoleType<T>> |
getOrCreateCmrField()
If not already created, a new cmr-field element with the given value will be created. |
RelationshipRoleSourceType<EjbRelationshipRoleType<T>> |
getOrCreateRelationshipRoleSource()
If not already created, a new relationship-role-source element with the given value will be created. |
Boolean |
isCascadeDelete()
Removes the cascade-delete element |
EjbRelationshipRoleType<T> |
multiplicity(MultiplicityType multiplicity)
Sets the multiplicity element |
EjbRelationshipRoleType<T> |
multiplicity(String multiplicity)
Sets the multiplicity element |
EjbRelationshipRoleType<T> |
removeAllDescription()
Removes the description element |
EjbRelationshipRoleType<T> |
removeCascadeDelete()
Removes the cascade-delete element |
EjbRelationshipRoleType<T> |
removeCmrField()
Removes the cmr-field element |
EjbRelationshipRoleType<T> |
removeEjbRelationshipRoleName()
Removes the ejb-relationship-role-name element |
EjbRelationshipRoleType<T> |
removeMultiplicity()
Removes the multiplicity attribute |
EjbRelationshipRoleType<T> |
removeRelationshipRoleSource()
Removes the relationship-role-source element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
EjbRelationshipRoleType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
EjbRelationshipRoleType
List<String> getAllDescription()
description
elements
description
EjbRelationshipRoleType<T> removeAllDescription()
description
element
EjbRelationshipRoleType
EjbRelationshipRoleType<T> ejbRelationshipRoleName(String ejbRelationshipRoleName)
ejb-relationship-role-name
element
ejbRelationshipRoleName
- the value for the element ejb-relationship-role-name
EjbRelationshipRoleType
String getEjbRelationshipRoleName()
ejb-relationship-role-name
element
ejb-relationship-role-name
EjbRelationshipRoleType<T> removeEjbRelationshipRoleName()
ejb-relationship-role-name
element
EjbRelationshipRoleType
EjbRelationshipRoleType<T> multiplicity(MultiplicityType multiplicity)
multiplicity
element
multiplicity
- the value for the element multiplicity
EjbRelationshipRoleType
EjbRelationshipRoleType<T> multiplicity(String multiplicity)
multiplicity
element
multiplicity
- the value for the element multiplicity
EjbRelationshipRoleType
MultiplicityType getMultiplicity()
multiplicity
element
multiplicity
String getMultiplicityAsString()
multiplicity
element
multiplicity
EjbRelationshipRoleType<T> removeMultiplicity()
multiplicity
attribute
EjbRelationshipRoleType
EjbRelationshipRoleType<T> cascadeDelete()
cascade-delete
element
EjbRelationshipRoleType
Boolean isCascadeDelete()
cascade-delete
element
EjbRelationshipRoleType
EjbRelationshipRoleType<T> removeCascadeDelete()
cascade-delete
element
EjbRelationshipRoleType
RelationshipRoleSourceType<EjbRelationshipRoleType<T>> getOrCreateRelationshipRoleSource()
relationship-role-source
element with the given value will be created.
Otherwise, the existing relationship-role-source
element will be returned.
RelationshipRoleSourceType>
EjbRelationshipRoleType<T> removeRelationshipRoleSource()
relationship-role-source
element
EjbRelationshipRoleType
CmrFieldType<EjbRelationshipRoleType<T>> getOrCreateCmrField()
cmr-field
element with the given value will be created.
Otherwise, the existing cmr-field
element will be returned.
CmrFieldType>
EjbRelationshipRoleType<T> removeCmrField()
cmr-field
element
EjbRelationshipRoleType
|
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 |