org.ow2.jonas.deployment.ejb.xml
Class JonasEjbJar

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.ejb.xml.JonasEjbJar
All Implemented Interfaces:
Serializable, Element, 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

Field Summary
static String JONAS_EJBJAR_ELEMENT
          jonas-ejb-jar element XML header
 
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 addJonasMessageDestination(JonasMessageDestination jonasMessageDestination)
          Add a new jonas-message-destination element to this object
 void addJonasMessageDriven(JonasMessageDriven jonasMessageDriven)
          Add a new jonas-message-driven element to this object
 void addJonasRunAsMapping(JonasRunAsMapping jonasRunAsMapping)
          Add a new jonas-run-as-mapping element to this object
 void addJonasSession(JonasSession jonasSession)
          Add a new jonas-session element to this object
 String getHeader()
           
 JLinkedList getJonasEjbRelationList()
          Gets the jonas-ejb-relation
 JLinkedList getJonasEntityList()
          Gets the jonas-entity
 JLinkedList getJonasMessageDestinationList()
           
 JLinkedList getJonasMessageDrivenList()
          Gets the jonas-message-driven
 JLinkedList getJonasRunAsMappingList()
          Gets the jonas-run-as-mapping
 JLinkedList getJonasSessionList()
          Gets the jonas-session
 void setHeader(String header)
           
 void setJonasEjbRelationList(JLinkedList jonasEjbRelationList)
          Set the jonas-ejb-relation
 void setJonasEntityList(JLinkedList jonasEntityList)
          Set the jonas-entity
 void setJonasMessageDestinationList(JLinkedList jonasMessageDestinationList)
          Set the jonas-message-destination
 void setJonasMessageDrivenList(JLinkedList jonasMessageDrivenList)
          Set the jonas-message-driven
 void setJonasSessionList(JLinkedList jonasSessionList)
          Set the jonas-session
 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
 

Field Detail

JONAS_EJBJAR_ELEMENT

public static final String JONAS_EJBJAR_ELEMENT
jonas-ejb-jar element XML header

Constructor Detail

JonasEjbJar

public JonasEjbJar()
Constructor

Method Detail

getJonasRunAsMappingList

public JLinkedList getJonasRunAsMappingList()
Gets the jonas-run-as-mapping

Returns:
the jonas-run-as-mapping

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

addJonasRunAsMapping

public void addJonasRunAsMapping(JonasRunAsMapping jonasRunAsMapping)
Add a new jonas-run-as-mapping element to this object

Parameters:
jonasRunAsMapping - the jonasRunAsMapping object

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

getJonasMessageDestinationList

public JLinkedList getJonasMessageDestinationList()
Returns:
the list of all jonas-message-destination elements

setJonasMessageDestinationList

public void setJonasMessageDestinationList(JLinkedList jonasMessageDestinationList)
Set the jonas-message-destination

Parameters:
jonasMessageDestinationList - jonasMessageDestination

addJonasMessageDestination

public void addJonasMessageDestination(JonasMessageDestination jonasMessageDestination)
Add a new jonas-message-destination element to this object

Parameters:
jonasMessageDestination - the jonas-message-destination object

toXML

public 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.

getHeader

public String getHeader()
Returns:
the header.

setHeader

public void setHeader(String header)
Parameters:
header - The header to set.


Copyright © 2010 OW2 Consortium. All Rights Reserved.