java.io.Serializable, IdMetaData, MappableMetaData, WithDescriptionspublic class RelationRoleMetaData extends NamedMetaDataWithDescriptions
| Constructor | Description |
|---|---|
RelationRoleMetaData() |
Create a new EnterpriseBeanMetaData.
|
| Modifier and Type | Method | Description |
|---|---|---|
EmptyMetaData |
getCascadeDelete() |
Get the cascadedDelete.
|
CMRFieldMetaData |
getCmrField() |
Get the cmrField.
|
java.lang.String |
getEjbRelationshipRoleName() |
Get the ejbRelationshipRoleName.
|
MultiplicityType |
getMultiplicity() |
Get the multiplicityType.
|
RelationRoleMetaData |
getRelatedRole() |
Get the releated role
|
RelationMetaData |
getRelation() |
Get the relation.
|
RelationRoleSourceMetaData |
getRoleSource() |
Get the roleSource.
|
boolean |
isCascadedDelete() |
|
boolean |
isMultiplicityMany() |
Is this multiplicity many
|
boolean |
isMultiplicityOne() |
Is this multiplicity one
|
void |
setCascadeDelete(EmptyMetaData cascadedDelete) |
Set the cascadedDelete.
|
void |
setCmrField(CMRFieldMetaData cmrField) |
Set the cmrField.
|
void |
setEjbRelationshipRoleName(java.lang.String ejbRelationshipRoleName) |
Set the ejbRelationshipRoleName.
|
void |
setMultiplicity(MultiplicityType multiplicityType) |
Set the multiplicityType.
|
void |
setRoleSource(RelationRoleSourceMetaData roleSource) |
Set the roleSource.
|
clone, getId, setIdgetKeyequals, getKey, getName, hashCode, setName, toStringgetDescriptions, setDescriptionspublic RelationRoleMetaData()
public java.lang.String getEjbRelationshipRoleName()
public void setEjbRelationshipRoleName(java.lang.String ejbRelationshipRoleName)
ejbRelationshipRoleName - the ejbRelationshipRoleName.java.lang.IllegalArgumentException - for a null ejbRelationshipRoleNamepublic MultiplicityType getMultiplicity()
public void setMultiplicity(MultiplicityType multiplicityType)
multiplicityType - the multiplicityType.java.lang.IllegalArgumentException - for a null multiplicityTypepublic boolean isMultiplicityOne()
public boolean isMultiplicityMany()
public boolean isCascadedDelete()
public EmptyMetaData getCascadeDelete()
public void setCascadeDelete(EmptyMetaData cascadedDelete)
cascadedDelete - the cascadedDelete.public RelationMetaData getRelation()
public RelationRoleMetaData getRelatedRole()
public RelationRoleSourceMetaData getRoleSource()
public void setRoleSource(RelationRoleSourceMetaData roleSource)
roleSource - the roleSource.java.lang.IllegalArgumentException - for a null roleSourcepublic CMRFieldMetaData getCmrField()
public void setCmrField(CMRFieldMetaData cmrField)
cmrField - the cmrField.java.lang.IllegalArgumentException - for a null cmrFieldCopyright © 2018 JBoss by Red Hat. All rights reserved.