org.objectweb.jonas_ejb.deployment.xml
Class JonasEjbJar

java.lang.Object
  extended byorg.objectweb.jonas_lib.deployment.xml.AbsElement
      extended byorg.objectweb.jonas_ejb.deployment.xml.JonasEjbJar
All Implemented Interfaces:
Element, java.io.Serializable, TopLevelElement

public class JonasEjbJar
extends AbsElement
implements TopLevelElement

This class defines the implementation of the element jonas-ejb-jar

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
JonasEjbJar()
          Constructor
 
Method Summary
 void addJonasEjbRelation(JonasEjbRelation jonasEjbRelation)
          Add a new jonas-ejb-relation element to this object
 void addJonasEntity(JonasEntity jonasEntity)
          Add a new jonas-entity element to this object
 void addJonasMessageDriven(JonasMessageDriven jonasMessageDriven)
          Add a new jonas-message-driven element to this object
 void addJonasSession(JonasSession jonasSession)
          Add a new jonas-session element to this object
 JLinkedList getJonasEjbRelationList()
          Gets the jonas-ejb-relation
 JLinkedList getJonasEntityList()
          Gets the jonas-entity
 JLinkedList getJonasMessageDrivenList()
          Gets the jonas-message-driven
 JLinkedList getJonasSessionList()
          Gets the jonas-session
 void setJonasEjbRelationList(JLinkedList jonasEjbRelationList)
          Set the jonas-ejb-relation
 void setJonasEntityList(JLinkedList jonasEntityList)
          Set the jonas-entity
 void setJonasMessageDrivenList(JLinkedList jonasMessageDrivenList)
          Set the jonas-message-driven
 void setJonasSessionList(JLinkedList jonasSessionList)
          Set the jonas-session
 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

JonasEjbJar

public JonasEjbJar()
Constructor

Method Detail

getJonasSessionList

public JLinkedList getJonasSessionList()
Gets the jonas-session

Returns:
the jonas-session

setJonasSessionList

public void setJonasSessionList(JLinkedList jonasSessionList)
Set the jonas-session

Parameters:
jonasSessionList - jonasSession

addJonasSession

public void addJonasSession(JonasSession jonasSession)
Add a new jonas-session element to this object

Parameters:
jonasSession - the jonasSessionobject

getJonasEntityList

public JLinkedList getJonasEntityList()
Gets the jonas-entity

Returns:
the jonas-entity

setJonasEntityList

public void setJonasEntityList(JLinkedList jonasEntityList)
Set the jonas-entity

Parameters:
jonasEntityList - jonasEntity

addJonasEntity

public void addJonasEntity(JonasEntity jonasEntity)
Add a new jonas-entity element to this object

Parameters:
jonasEntity - the jonasEntityobject

getJonasMessageDrivenList

public JLinkedList getJonasMessageDrivenList()
Gets the jonas-message-driven

Returns:
the jonas-message-driven

setJonasMessageDrivenList

public void setJonasMessageDrivenList(JLinkedList jonasMessageDrivenList)
Set the jonas-message-driven

Parameters:
jonasMessageDrivenList - jonasMessageDriven

addJonasMessageDriven

public void addJonasMessageDriven(JonasMessageDriven jonasMessageDriven)
Add a new jonas-message-driven element to this object

Parameters:
jonasMessageDriven - the jonasMessageDrivenobject

getJonasEjbRelationList

public JLinkedList getJonasEjbRelationList()
Gets the jonas-ejb-relation

Returns:
the jonas-ejb-relation

setJonasEjbRelationList

public void setJonasEjbRelationList(JLinkedList jonasEjbRelationList)
Set the jonas-ejb-relation

Parameters:
jonasEjbRelationList - jonasEjbRelation

addJonasEjbRelation

public void addJonasEjbRelation(JonasEjbRelation jonasEjbRelation)
Add a new jonas-ejb-relation element to this object

Parameters:
jonasEjbRelation - the jonasEjbRelationobject

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.