java.lang.Object | +--com.ibm.commerce.condition.Condition | +--com.ibm.commerce.condition.ConditionList | +--com.ibm.commerce.condition.OrListCondition
This class describes a boolean expression that consists of a list of boolean expressions joined by the boolean OR operator.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT Copyright. |
Constructor Summary | |
---|---|
OrListCondition(
Condition[] conditions) This constructor lets you specify an array of conditions that should be "ored" together. |
Method Summary | |
---|---|
java.lang.Object |
clone() Returns a clone of this condition object. |
boolean |
evaluate(
Evaluator evaluator) This method evaluates the "or list" condition. |
Methods inherited from class com.ibm.commerce.condition. ConditionList |
getConditions,
setConditions |
Methods inherited from class com.ibm.commerce.condition. Condition |
getNot,
getType,
getXMLFragment,
loadConditionFromXML,
setNot,
setType |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString,
wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public OrListCondition(Condition[] conditions)
Method Detail |
---|
public java.lang.Object clone()
Condition
clone
in class
Condition
public boolean evaluate(Evaluator evaluator)
not
property is
true
.
evaluate
in class
Condition
evaluator
- An implementation of the Evaluator interface that
is used to evaluate all of the simple and open conditions.true
if the condition is true.