org.apache.openejb.jee
Class EjbRelation
java.lang.Object
org.apache.openejb.jee.EjbRelation
public class EjbRelation
- extends java.lang.Object
The ejb-relationType describes a relationship between two
entity beans with container-managed persistence. It is used
by ejb-relation elements. It contains a description; an
optional ejb-relation-name element; and exactly two
relationship role declarations, defined by the
ejb-relationship-role elements. The name of the
relationship, if specified, is unique within the ejb-jar
file.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
description
protected java.util.List<Text> description
ejbRelationName
protected java.lang.String ejbRelationName
ejbRelationshipRole
protected java.util.List<EjbRelationshipRole> ejbRelationshipRole
id
protected java.lang.String id
EjbRelation
public EjbRelation()
getDescription
public java.util.List<Text> getDescription()
getEjbRelationName
public java.lang.String getEjbRelationName()
setEjbRelationName
public void setEjbRelationName(java.lang.String value)
getEjbRelationshipRole
public java.util.List<EjbRelationshipRole> getEjbRelationshipRole()
getId
public java.lang.String getId()
setId
public void setId(java.lang.String value)
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.