|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.metadata.MetaData org.jboss.metadata.RelationshipRoleMetaData
Represents one ejb-relationship-role element found in the ejb-jar.xml file's ejb-relation elements.
Field Summary |
Fields inherited from class org.jboss.metadata.MetaData |
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN |
Constructor Summary | |
RelationshipRoleMetaData(RelationMetaData relationMetaData)
|
Method Summary | |
String |
getCMRFieldName()
Gets the name of the entity's cmr field for this role. |
String |
getCMRFieldType()
Gets the type of the cmr field (i.e., collection or set) |
String |
getEntityName()
Gets the name of the entity that has this role. |
RelationshipRoleMetaData |
getRelatedRoleMetaData()
Gets the related role's metadata |
RelationMetaData |
getRelationMetaData()
Gets the relation meta data to which the role belongs. |
String |
getRelationshipRoleName()
Gets the relationship role name |
void |
importEjbJarXml(Element element)
Non-operation. |
boolean |
isCascadeDelete()
Should this entity be deleted when related entity is deleted. |
boolean |
isMultiplicityMany()
Checks if the multiplicity is many. |
boolean |
isMultiplicityOne()
Checks if the multiplicity is one. |
Methods inherited from class org.jboss.metadata.MetaData |
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importJbossXml, importXml, jdk13Enabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RelationshipRoleMetaData(RelationMetaData relationMetaData)
Method Detail |
public String getRelationshipRoleName()
public RelationMetaData getRelationMetaData()
public RelationshipRoleMetaData getRelatedRoleMetaData()
public boolean isMultiplicityOne()
public boolean isMultiplicityMany()
public boolean isCascadeDelete()
public String getEntityName()
public String getCMRFieldName()
public String getCMRFieldType()
public void importEjbJarXml(Element element) throws org.jboss.deployment.DeploymentException
MetaData
importEjbJarXml
in class MetaData
element
-
org.jboss.deployment.DeploymentException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |