org.jboss.metadata
Class RelationMetaData
java.lang.Object
org.jboss.metadata.MetaData (src)
org.jboss.metadata.RelationMetaData
- All Implemented Interfaces:
- java.lang.Cloneable, XmlLoadable (src)
- public class RelationMetaData
- extends MetaData (src)
Represents one ejb-relation element found in the ejb-jar.xml
file's relationships elements.
Methods inherited from class org.jboss.metadata.MetaData (src) |
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 |
RelationMetaData
public RelationMetaData()
getRelationName
public java.lang.String getRelationName()
- Gets the relation name.
Relation name is loaded from the ejb-relation-name element.
getLeftRelationshipRole
public RelationshipRoleMetaData (src) getLeftRelationshipRole()
- Gets the left relationship role.
The relationship role is loaded from an ejb-relationship-role.
Left/right assignment is completely arbitrary.
getRightRelationshipRole
public RelationshipRoleMetaData (src) getRightRelationshipRole()
- Gets the right relationship role.
The relationship role is loaded from an ejb-relationship-role.
Left/right assignment is completely arbitrary.
getOtherRelationshipRole
public RelationshipRoleMetaData (src) getOtherRelationshipRole(RelationshipRoleMetaData (src) role)
importEjbJarXml
public void importEjbJarXml(org.w3c.dom.Element element)
throws DeploymentException (src)
- Description copied from class:
MetaData (src)
- Non-operation.
- Overrides:
importEjbJarXml
in class MetaData (src)
- Parameters:
element
-
- Throws:
DeploymentException (src)