当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
RelationMetaData (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.metadata
Class RelationMetaData
java.lang.Object
org.jboss.metadata.MetaData
org.jboss.metadata.RelationMetaData
- All Implemented Interfaces:
- Cloneable, XmlLoadable
- public class RelationMetaData
- extends MetaData
Represents one ejb-relation element found in the ejb-jar.xml
file's relationships elements.
- Version:
- $Revision: 1.10 $
- Author:
- Dain Sundstrom
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 |
RelationMetaData
public RelationMetaData()
getRelationName
public String getRelationName()
- Gets the relation name.
Relation name is loaded from the ejb-relation-name element.
getLeftRelationshipRole
public RelationshipRoleMetaData 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 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 getOtherRelationshipRole(RelationshipRoleMetaData role)
importEjbJarXml
public void importEjbJarXml(Element element)
throws org.jboss.deployment.DeploymentException
- Description copied from class:
MetaData
- Non-operation.
- Overrides:
importEjbJarXml
in class MetaData
- Parameters:
element
-
- Throws:
org.jboss.deployment.DeploymentException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.