
public interface EjbRelationshipRoleType<T> extends Child<T>, JavaeeEjbRelationshipRoleCommonType<T,EjbRelationshipRoleType<T>,RelationshipRoleSourceType<EjbRelationshipRoleType<T>>,CmrFieldType<EjbRelationshipRoleType<T>>>
ejb-relationship-roleType xsd type| Modifier and Type | Method and Description |
|---|---|
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 |
String |
getId()
Returns the
id attribute |
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. |
EjbRelationshipRoleType<T> |
id(String id)
Sets the
id attribute |
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> |
removeId()
Removes the
id attribute |
EjbRelationshipRoleType<T> |
removeMultiplicity()
Removes the
multiplicity attribute |
EjbRelationshipRoleType<T> |
removeRelationshipRoleSource()
Removes the
relationship-role-source element |
EjbRelationshipRoleType<T> description(String... values)
description elements,
a new description elementvalues - list of description objectsEjbRelationshipRoleTypeList<String> getAllDescription()
description elementsdescriptionEjbRelationshipRoleType<T> removeAllDescription()
description elementEjbRelationshipRoleTypeEjbRelationshipRoleType<T> ejbRelationshipRoleName(String ejbRelationshipRoleName)
ejb-relationship-role-name elementejbRelationshipRoleName - the value for the element ejb-relationship-role-nameEjbRelationshipRoleTypeString getEjbRelationshipRoleName()
ejb-relationship-role-name elementejb-relationship-role-nameEjbRelationshipRoleType<T> removeEjbRelationshipRoleName()
ejb-relationship-role-name elementEjbRelationshipRoleTypeEjbRelationshipRoleType<T> multiplicity(MultiplicityType multiplicity)
multiplicity elementmultiplicity - the value for the element multiplicityEjbRelationshipRoleTypeEjbRelationshipRoleType<T> multiplicity(String multiplicity)
multiplicity elementmultiplicity - the value for the element multiplicityEjbRelationshipRoleTypeMultiplicityType getMultiplicity()
multiplicity elementmultiplicityString getMultiplicityAsString()
multiplicity elementmultiplicityEjbRelationshipRoleType<T> removeMultiplicity()
multiplicity attributeEjbRelationshipRoleTypeEjbRelationshipRoleType<T> cascadeDelete()
cascade-delete elementEjbRelationshipRoleTypeBoolean isCascadeDelete()
cascade-delete elementEjbRelationshipRoleTypeEjbRelationshipRoleType<T> removeCascadeDelete()
cascade-delete elementEjbRelationshipRoleTypeRelationshipRoleSourceType<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 elementEjbRelationshipRoleTypeCmrFieldType<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 elementEjbRelationshipRoleTypeEjbRelationshipRoleType<T> id(String id)
id attributeid - the value for the attribute idEjbRelationshipRoleTypeString getId()
id attributeidEjbRelationshipRoleType<T> removeId()
id attributeEjbRelationshipRoleTypeCopyright © 2025 JBoss by Red Hat. All rights reserved.