public interface EjbRelationshipRoleType<T> extends Child<T>, JavaeeEjbRelationshipRoleCommonType<T,EjbRelationshipRoleType<T>,RelationshipRoleSourceType<EjbRelationshipRoleType<T>>,CmrFieldType<EjbRelationshipRoleType<T>>>
ejb-relationship-roleType
xsd typeModifier 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
objectsEjbRelationshipRoleType
List<String> getAllDescription()
description
elementsdescription
EjbRelationshipRoleType<T> removeAllDescription()
description
elementEjbRelationshipRoleType
EjbRelationshipRoleType<T> ejbRelationshipRoleName(String ejbRelationshipRoleName)
ejb-relationship-role-name
elementejbRelationshipRoleName
- the value for the element ejb-relationship-role-name
EjbRelationshipRoleType
String getEjbRelationshipRoleName()
ejb-relationship-role-name
elementejb-relationship-role-name
EjbRelationshipRoleType<T> removeEjbRelationshipRoleName()
ejb-relationship-role-name
elementEjbRelationshipRoleType
EjbRelationshipRoleType<T> multiplicity(MultiplicityType multiplicity)
multiplicity
elementmultiplicity
- the value for the element multiplicity
EjbRelationshipRoleType
EjbRelationshipRoleType<T> multiplicity(String multiplicity)
multiplicity
elementmultiplicity
- the value for the element multiplicity
EjbRelationshipRoleType
MultiplicityType getMultiplicity()
multiplicity
elementmultiplicity
String getMultiplicityAsString()
multiplicity
elementmultiplicity
EjbRelationshipRoleType<T> removeMultiplicity()
multiplicity
attributeEjbRelationshipRoleType
EjbRelationshipRoleType<T> cascadeDelete()
cascade-delete
elementEjbRelationshipRoleType
Boolean isCascadeDelete()
cascade-delete
elementEjbRelationshipRoleType
EjbRelationshipRoleType<T> removeCascadeDelete()
cascade-delete
elementEjbRelationshipRoleType
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
elementEjbRelationshipRoleType
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
elementEjbRelationshipRoleType
EjbRelationshipRoleType<T> id(String id)
id
attributeid
- the value for the attribute id
EjbRelationshipRoleType
String getId()
id
attributeid
EjbRelationshipRoleType<T> removeId()
id
attributeEjbRelationshipRoleType
Copyright © 2019 JBoss by Red Hat. All rights reserved.