org.ow2.jonas.deployment.rar.xml
Class JonasActivationspec

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.rar.xml.JonasActivationspec
All Implemented Interfaces:
Serializable, Element, TopLevelElement

public class JonasActivationspec
extends AbsElement
implements TopLevelElement

This class defines the implementation of the element jonas-activationspec

Author:
Eric Hardesty
See Also:
Serialized Form

Constructor Summary
JonasActivationspec()
          Constructor
 
Method Summary
 void addDescription(String description)
          Add a new description element to this object
 String getDefaultAS()
          Gets the defaultAS
 JLinkedList getDescriptionList()
          Gets the description
 String getId()
          Gets the id
 String getJndiName()
          Gets the jndiname
 void setDefaultAS(String defaultAS)
          Set the defaultAS
 void setDescriptionList(JLinkedList descriptionList)
          Set the description
 void setId(String id)
          Set the id
 void setJndiName(String jndiName)
          Set the jndiname
 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

JonasActivationspec

public JonasActivationspec()
Constructor

Method Detail

getId

public String getId()
Gets the id

Returns:
the id

setId

public void setId(String id)
Set the id

Parameters:
id - id

getDescriptionList

public JLinkedList getDescriptionList()
Gets the description

Returns:
the description

setDescriptionList

public void setDescriptionList(JLinkedList descriptionList)
Set the description

Parameters:
descriptionList - description

addDescription

public void addDescription(String description)
Add a new description element to this object

Parameters:
description - the description String

getJndiName

public String getJndiName()
Gets the jndiname

Returns:
the jndiname

setJndiName

public void setJndiName(String jndiName)
Set the jndiname

Parameters:
jndiName - jndiname

getDefaultAS

public String getDefaultAS()
Gets the defaultAS

Returns:
the defaultAS

setDefaultAS

public void setDefaultAS(String defaultAS)
Set the defaultAS

Parameters:
defaultAS - defaultAS

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 prefixing XML representation.
Returns:
the XML description of this object.


Copyright © 2010 OW2 Consortium. All Rights Reserved.