com.ibm.commerce.condition
Class OpenCondition.Parameter

java.lang.Object
  |
  +--com.ibm.commerce.condition.OpenCondition.Parameter
Enclosing class:
OpenCondition

public static final class OpenCondition.Parameter
extends java.lang.Object

This class describes an open condition parameter. A parameter consists of a name, value and an optional list of parameters.


Constructor Summary
OpenCondition.Parameter(java.lang.String name, java.lang.String value)
          This constructor takes the name and value of the parameter.
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getName()
          Get the name of this parameter.
 OpenCondition.Parameter[] getSubParameters()
          Gets the array of subparameters for this parameter.
 java.lang.String getValue()
          Gets the value for this parameter.
 void setName(java.lang.String name)
          Sets the name of this parameter.
 void setSubParameters(OpenCondition.Parameter[] subParameters)
          Sets the subparameters for this parameter.
 void setValue(java.lang.String value)
          Sets the value of this parameter.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenCondition.Parameter

public OpenCondition.Parameter(java.lang.String name,
                               java.lang.String value)
This constructor takes the name and value of the parameter.
Parameters:
name - The name of the parameter.
value - The value of this parameter.
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getName

public java.lang.String getName()
Get the name of this parameter.
Returns:
The name of the parameter.

getSubParameters

public OpenCondition.Parameter[] getSubParameters()
Gets the array of subparameters for this parameter.
Returns:
An array of Parameter objects.

getValue

public java.lang.String getValue()
Gets the value for this parameter.
Returns:
The value for the parameter.

setName

public void setName(java.lang.String name)
Sets the name of this parameter.
Parameters:
name - The Name of this parameter.

setSubParameters

public void setSubParameters(OpenCondition.Parameter[] subParameters)
Sets the subparameters for this parameter.
Parameters:
subParameters - The subparameters for this parameter.

setValue

public void setValue(java.lang.String value)
Sets the value of this parameter.
Parameters:
value - The value of the parameter.