public class RelationRoleMetaData extends NamedMetaDataWithDescriptions
| Constructor and Description |
|---|
RelationRoleMetaData()
Create a new EnterpriseBeanMetaData.
|
| Modifier and Type | Method and Description |
|---|---|
EmptyMetaData |
getCascadeDelete()
Get the cascadedDelete.
|
CMRFieldMetaData |
getCmrField()
Get the cmrField.
|
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(String ejbRelationshipRoleName)
Set the ejbRelationshipRoleName.
|
void |
setMultiplicity(MultiplicityType multiplicityType)
Set the multiplicityType.
|
void |
setRoleSource(RelationRoleSourceMetaData roleSource)
Set the roleSource.
|
getDescriptions, setDescriptionsequals, getKey, getName, hashCode, setName, toStringclone, getId, setIdfinalize, getClass, notify, notifyAll, wait, wait, waitgetKeypublic RelationRoleMetaData()
public String getEjbRelationshipRoleName()
public void setEjbRelationshipRoleName(String ejbRelationshipRoleName)
ejbRelationshipRoleName - the ejbRelationshipRoleName.IllegalArgumentException - for a null ejbRelationshipRoleNamepublic MultiplicityType getMultiplicity()
public void setMultiplicity(MultiplicityType multiplicityType)
multiplicityType - the multiplicityType.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.IllegalArgumentException - for a null roleSourcepublic CMRFieldMetaData getCmrField()
public void setCmrField(CMRFieldMetaData cmrField)
cmrField - the cmrField.IllegalArgumentException - for a null cmrFieldCopyright © 2019 JBoss by Red Hat. All rights reserved.