|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.common.xml.AbsElement org.ow2.jonas.deployment.ejb.xml.EjbRelation
public class EjbRelation
This class defines the implementation of the element ejb-relation
Constructor Summary | |
---|---|
EjbRelation()
Constructor |
Method Summary | |
---|---|
void |
addEjbRelationshipRole(EjbRelationshipRole ejbRelationshipRole)
Add a new ejb-relationship-role element to this object |
String |
getDescription()
Gets the description |
String |
getEjbRelationName()
Gets the ejb-relation-name |
EjbRelationshipRole |
getEjbRelationshipRole()
Gets the first ejb-relationship-role |
EjbRelationshipRole |
getEjbRelationshipRole2()
Gets the second ejb-relationship-role |
JLinkedList |
getEjbRelationshipRoleList()
Gets the ejb-relationship-role list |
void |
setDescription(String description)
Set the description |
void |
setEjbRelationName(String ejbRelationName)
Set the ejb-relation-name |
String |
toXML(int indent)
Represents this element by it's XML description. |
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsElement |
---|
indent, toString, toXML, xmlAttribute, xmlElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EjbRelation()
Method Detail |
---|
public String getDescription()
public void setDescription(String description)
description
- descriptionpublic String getEjbRelationName()
public void setEjbRelationName(String ejbRelationName)
ejbRelationName
- ejbRelationNamepublic void addEjbRelationshipRole(EjbRelationshipRole ejbRelationshipRole)
ejbRelationshipRole
- the ejb-relationship-role objectpublic JLinkedList getEjbRelationshipRoleList()
public EjbRelationshipRole getEjbRelationshipRole()
public EjbRelationshipRole getEjbRelationshipRole2()
public String toXML(int indent)
toXML
in interface Element
toXML
in class AbsElement
indent
- use this indent for prexifing XML representation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |