public abstract class ConditionList extends Condition implements com.ibm.commerce.base.helpers.Uniquifiable, java.io.Serializable, com.ibm.websphere.cache.Sizeable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
AND_LIST_CONDITION, FALSE_VALUE, OPEN_CONDITION, OPERATOR_CONTAINS, OPERATOR_DOES_NOT_CONTAIN, OPERATOR_DOES_NOT_END_WITH, OPERATOR_DOES_NOT_START_WITH, OPERATOR_ENDS_WITH, OPERATOR_EQUAL_TO, OPERATOR_GREATER_THAN, OPERATOR_GREATER_THAN_OR_EQUAL_TO, OPERATOR_LESS_THAN, OPERATOR_LESS_THAN_OR_EQUAL_TO, OPERATOR_NOT_EQUAL_TO, OPERATOR_STARTS_WITH, OR_LIST_CONDITION, SIMPLE_CONDITION, TRUE_CONDITION, TRUE_VALUE, XML_DTD_FRAGMENT, XML_INDENT
Constructor and Description |
---|
ConditionList() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object aObject)
Returns true if the specified object is equivalent to this object.
|
Condition[] |
getConditions()
Gets the array of condition objects.
|
long |
getObjectSize()
Returns the estimated footprint size in bytes
of this object and the objects it contains.
|
int |
hashCode()
Returns a hash code for this object.
|
void |
setConditions(Condition[] conditions)
Set the array of condition objects.
|
void |
uniquify()
Reduces memory footprint of this object.
|
clone, evaluate, getNot, getType, getXMLFragment, loadConditionFromXML, setNot
public static final java.lang.String COPYRIGHT
public long getObjectSize()
getObjectSize
in interface com.ibm.websphere.cache.Sizeable
getObjectSize
in class Condition
public void setConditions(Condition[] conditions)
conditions
- An array of condition objects.public Condition[] getConditions()
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.
uniquify
in interface com.ibm.commerce.base.helpers.Uniquifiable