org.objectweb.jonas_rar.deployment.xml
Class License

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

public class License
extends AbsElement

This class defines the implementation of the element license

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
License()
          Constructor
 
Method Summary
 void addDescription(java.lang.String description)
          Add a new description element to this object
 JLinkedList getDescriptionList()
          Gets the description
 java.lang.String getLicenseRequired()
          Gets the license-required
 void setDescriptionList(JLinkedList descriptionList)
          Set the description
 void setLicenseRequired(java.lang.String licenseRequired)
          Set the license-required
 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

License

public License()
Constructor

Method Detail

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(java.lang.String description)
Add a new description element to this object

Parameters:
description - the description String

getLicenseRequired

public java.lang.String getLicenseRequired()
Gets the license-required

Returns:
the license-required

setLicenseRequired

public void setLicenseRequired(java.lang.String licenseRequired)
Set the license-required

Parameters:
licenseRequired - licenseRequired

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