org.objectweb.jonas_ear.deployment.xml
Class Application

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_lib.deployment.xml.AbsDescriptionElement
          extended by org.objectweb.jonas_ear.deployment.xml.Application
All Implemented Interfaces:
java.io.Serializable, DescriptionGroupXml, Element, TopLevelElement

public class Application
extends AbsDescriptionElement
implements TopLevelElement, DescriptionGroupXml

This class defines the implementation of the element application

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
Application()
          Constructor
 
Method Summary
 void addModule(Module module)
          Add a new module element to this object
 void addSecurityRole(SecurityRole securityRole)
          Add a new security-role element to this object
 JLinkedList getModuleList()
          Gets the module
 JLinkedList getSecurityRoleList()
          Gets the security-role
 void setModuleList(JLinkedList moduleList)
          Set the module
 void setSecurityRoleList(JLinkedList securityRoleList)
          Set the security-role
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsDescriptionElement
getDescription, getDisplayName, getIcon, setDescription, setDisplayName, setIcon, setLargeIcon, setLargeIcon, setSmallIcon, setSmallIcon
 
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
 
Methods inherited from interface org.objectweb.jonas_lib.deployment.xml.DescriptionGroupXml
getDescription, getDisplayName, getIcon
 

Constructor Detail

Application

public Application()
Constructor

Method Detail

getModuleList

public JLinkedList getModuleList()
Gets the module

Returns:
the module

setModuleList

public void setModuleList(JLinkedList moduleList)
Set the module

Parameters:
moduleList - module

addModule

public void addModule(Module module)
Add a new module element to this object

Parameters:
module - the moduleobject

getSecurityRoleList

public JLinkedList getSecurityRoleList()
Gets the security-role

Returns:
the security-role

setSecurityRoleList

public void setSecurityRoleList(JLinkedList securityRoleList)
Set the security-role

Parameters:
securityRoleList - securityRole

addSecurityRole

public void addSecurityRole(SecurityRole securityRole)
Add a new security-role element to this object

Parameters:
securityRole - the securityRoleobject

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.