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

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

public class ConfigProperty
extends AbsElement

This class defines the implementation of the element config-property

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
ConfigProperty()
          Constructor
 
Method Summary
 void addDescription(String description)
          Add a new description element to this object
 String getConfigPropertyName()
          Gets the config-property-name
 String getConfigPropertyType()
          Gets the config-property-type
 String getConfigPropertyValue()
          Gets the config-property-value
 JLinkedList getDescriptionList()
          Gets the description
 void setConfigPropertyName(String configPropertyName)
          Set the config-property-name
 void setConfigPropertyType(String configPropertyType)
          Set the config-property-type
 void setConfigPropertyValue(String configPropertyValue)
          Set the config-property-value
 void setDescriptionList(JLinkedList descriptionList)
          Set the description
 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

ConfigProperty

public ConfigProperty()
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(String description)
Add a new description element to this object

Parameters:
description - the description String

getConfigPropertyName

public String getConfigPropertyName()
Gets the config-property-name

Returns:
the config-property-name

setConfigPropertyName

public void setConfigPropertyName(String configPropertyName)
Set the config-property-name

Parameters:
configPropertyName - configPropertyName

getConfigPropertyType

public String getConfigPropertyType()
Gets the config-property-type

Returns:
the config-property-type

setConfigPropertyType

public void setConfigPropertyType(String configPropertyType)
Set the config-property-type

Parameters:
configPropertyType - configPropertyType

getConfigPropertyValue

public String getConfigPropertyValue()
Gets the config-property-value

Returns:
the config-property-value

setConfigPropertyValue

public void setConfigPropertyValue(String configPropertyValue)
Set the config-property-value

Parameters:
configPropertyValue - configPropertyValue

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.