org.apache.openejb.jee
Class EjbRelation
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
description
protected List<Text> description
ejbRelationName
protected String ejbRelationName
ejbRelationshipRole
protected List<EjbRelationshipRole> ejbRelationshipRole
id
protected String id
EjbRelation
public EjbRelation()
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.