org.ow2.jonas.deployment.common.xml
Class EnvEntry

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

public class EnvEntry
extends AbsElement

This class defines the implementation of the element env-entry.

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
EnvEntry()
           
 
Method Summary
 String getDescription()
           
 String getEnvEntryName()
           
 String getEnvEntryType()
           
 String getEnvEntryValue()
           
 void setDescription(String description)
          Sets the description
 void setEnvEntryName(String envEntryName)
          Sets the name
 void setEnvEntryType(String envEntryType)
          Sets the type
 void setEnvEntryValue(String envEntryValue)
          Sets the value
 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

EnvEntry

public EnvEntry()
Method Detail

setDescription

public void setDescription(String description)
Sets the description

Parameters:
description - the description to use

setEnvEntryName

public void setEnvEntryName(String envEntryName)
Sets the name

Parameters:
envEntryName - the name to use

setEnvEntryValue

public void setEnvEntryValue(String envEntryValue)
Sets the value

Parameters:
envEntryValue - the value to use

setEnvEntryType

public void setEnvEntryType(String envEntryType)
Sets the type

Parameters:
envEntryType - the type to use

getDescription

public String getDescription()
Returns:
the description of the env-entry

getEnvEntryName

public String getEnvEntryName()
Returns:
the name of the env-entry

getEnvEntryValue

public String getEnvEntryValue()
Returns:
the value of the env-entry

getEnvEntryType

public String getEnvEntryType()
Returns:
the type of the env-entry

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.


Copyright © 2010 OW2 Consortium. All Rights Reserved.