com.ail.core.configure
Class Parameter

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.configure.Component
          extended by com.ail.core.configure.Parameter
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Parameter
extends Component

This type represents the simplest element used in the configuration pattern. Parameter is simply a name/value pair. The value is always a String.

Version:
$Revision: 1.2 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
Parameter()
          Default constructor
 
Method Summary
 java.lang.String getValue()
          Getter for the parameter's value.
 java.lang.String getValueCDATA()
          Get the value wrapped in an XML style CDATA tag.
 void setValue(java.lang.String value)
          Setter for the parameter's value.
 
Methods inherited from class com.ail.core.configure.Component
getName, getNameLowerCase, setName
 
Methods inherited from class com.ail.core.Type
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter()
Default constructor

Method Detail

getValue

public java.lang.String getValue()
Getter for the parameter's value.

Returns:
The value.

getValueCDATA

public java.lang.String getValueCDATA()
Get the value wrapped in an XML style CDATA tag.


setValue

public void setValue(java.lang.String value)
Setter for the parameter's value.

Parameters:
value - Value to use.