com.ibm.commerce.condition
Class TrueCondition
- java.lang.Object
-
- com.ibm.commerce.condition.Condition
-
- com.ibm.commerce.condition.TrueCondition
-
- All Implemented Interfaces:
- ConditionConstants, com.ibm.websphere.cache.Sizeable, java.io.Serializable
public final class TrueCondition extends Condition
This class describes a boolean expression that always evaluates as true.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
Copyright.-
Fields inherited from interface com.ibm.commerce.condition.ConditionConstants
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 Summary
Constructors Constructor and Description TrueCondition()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Object
clone()
Returns a clone of this condition object.boolean
evaluate(Evaluator evaluator)
This method will evaluate the true condition.-
Methods inherited from class com.ibm.commerce.condition.Condition
equals, getNot, getObjectSize, getType, getXMLFragment, hashCode, loadConditionFromXML, setNot
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
Copyright.- See Also:
- Constant Field Values
-
-
Method Detail
-
clone
public java.lang.Object clone()
Description copied from class:Condition
Returns a clone of this condition object.
-
evaluate
public boolean evaluate(Evaluator evaluator)
This method will evaluate the true condition. A true condition will always return true unless thenot
property is set totrue
.
-
-