public static final class OpenCondition.Parameter
extends java.lang.Object
implements com.ibm.commerce.base.helpers.Uniquifiable, java.io.Serializable, com.ibm.websphere.cache.Sizeable
Constructor and Description |
---|
OpenCondition.Parameter(java.lang.String name, java.lang.String value)
This constructor takes the name and value of the parameter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object | clone() |
boolean | equals(java.lang.Object aObject)
Returns true if the specified object is equivalent to this object.
|
java.lang.String | getName()
Get the name of this parameter.
|
long | getObjectSize()
Returns the estimated footprint size in bytes of this object and the objects it contains.
|
OpenCondition.Parameter[] | getSubParameters()
Gets the array of subparameters for this parameter.
|
java.lang.String | getValue()
Gets the value for this parameter.
|
int | hashCode()
Returns a hash code for this object.
|
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.
|
void | uniquify()
Reduces memory footprint of this object.
|
public OpenCondition.Parameter(java.lang.String name, java.lang.String value)
public long getObjectSize()
public java.lang.Object clone()
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getValue()
public void setValue(java.lang.String value)
public OpenCondition.Parameter[] getSubParameters()
public void setSubParameters(OpenCondition.Parameter[] subParameters)
public boolean equals(java.lang.Object aObject)
public int hashCode()
public void uniquify()
Reduces memory footprint of this object.
It is expected that the implementation of this method will use the Uniquee class to replace some or all of its properties with equivalent values from the Uniquee cache, or, if equivalent values are not found, place this object's properties in the Uniquee cache.
The caller must be able to promise that this object and its properties, recursively, will never be modified again, so that it and its properties can be shared by other objects.
This method is intended to be called by the Uniquee class.