org.objectweb.jonas_ejb.deployment.xml
Class Relationships

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_ejb.deployment.xml.Relationships
All Implemented Interfaces:
java.io.Serializable, Element

public class Relationships
extends AbsElement

This class defines the implementation of the element relationships

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
Relationships()
          Constructor
 
Method Summary
 void addEjbRelation(EjbRelation ejbRelation)
          Add a new ejb-relation element to this object
 java.lang.String getDescription()
          Gets the description
 JLinkedList getEjbRelationList()
          Gets the ejb-relation
 void setDescription(java.lang.String description)
          Set the description
 void setEjbRelationList(JLinkedList ejbRelationList)
          Set the ejb-relation
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.objectweb.jonas_lib.deployment.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

Relationships

public Relationships()
Constructor

Method Detail

getDescription

public java.lang.String getDescription()
Gets the description

Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Set the description

Parameters:
description - description

getEjbRelationList

public JLinkedList getEjbRelationList()
Gets the ejb-relation

Returns:
the ejb-relation

setEjbRelationList

public void setEjbRelationList(JLinkedList ejbRelationList)
Set the ejb-relation

Parameters:
ejbRelationList - ejbRelation

addEjbRelation

public void addEjbRelation(EjbRelation ejbRelation)
Add a new ejb-relation element to this object

Parameters:
ejbRelation - the ejbRelationobject

toXML

public java.lang.String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.