org.apache.openejb.jee
Class EjbRelation

java.lang.Object
  extended by org.apache.openejb.jee.EjbRelation

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

Field Detail

description

protected List<Text> description

ejbRelationName

protected String ejbRelationName

ejbRelationshipRole

protected List<EjbRelationshipRole> ejbRelationshipRole

id

protected String id
Constructor Detail

EjbRelation

public EjbRelation()
Method Detail

getDescription

public List<Text> getDescription()

getEjbRelationName

public String getEjbRelationName()

setEjbRelationName

public void setEjbRelationName(String value)

getEjbRelationshipRole

public List<EjbRelationshipRole> getEjbRelationshipRole()

getId

public String getId()

setId

public void setId(String value)


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.