org.jboss.metadata
Class RelationMetaData

java.lang.Object
  extended byorg.jboss.metadata.MetaData (src) 
      extended byorg.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.


Field Summary
 
Fields inherited from class org.jboss.metadata.MetaData (src)
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
RelationMetaData()
           
 
Method Summary
 RelationshipRoleMetaData (src) getLeftRelationshipRole()
          Gets the left relationship role.
 RelationshipRoleMetaData (src) getOtherRelationshipRole(RelationshipRoleMetaData (src)  role)
           
 java.lang.String getRelationName()
          Gets the relation name.
 RelationshipRoleMetaData (src) getRightRelationshipRole()
          Gets the right relationship role.
 void importEjbJarXml(org.w3c.dom.Element element)
          Non-operation.
 
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
 

Constructor Detail

RelationMetaData

public RelationMetaData()
Method Detail

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)