org.apache.openejb.jee
Class EjbRelation

java.lang.Object
  extended by 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.


Field Summary
protected  java.util.List<Text> description
           
protected  java.lang.String ejbRelationName
           
protected  java.util.List<EjbRelationshipRole> ejbRelationshipRole
           
protected  java.lang.String id
           
 
Constructor Summary
EjbRelation()
           
 
Method Summary
 java.util.List<Text> getDescription()
           
 java.lang.String getEjbRelationName()
           
 java.util.List<EjbRelationshipRole> getEjbRelationshipRole()
           
 java.lang.String getId()
           
 void setEjbRelationName(java.lang.String value)
           
 void setId(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

EjbRelation

public EjbRelation()
Method Detail

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.