net.sf.ehcache.search.expression
Class BaseCriteria
java.lang.Object
net.sf.ehcache.search.expression.BaseCriteria
- All Implemented Interfaces:
- Criteria
- Direct Known Subclasses:
- AlwaysMatch, And, ComparableValue, EqualTo, ILike, InCollection, Not, Or
public abstract class BaseCriteria
- extends Object
- implements Criteria
Base class for all criteria types
- Author:
- teck
Method Summary |
Criteria |
and(Criteria other)
Produce a criteria that is the boolean "and" of this and the given other criteria |
Criteria |
not()
Produce a criteria that is the boolean "not" of this |
Criteria |
or(Criteria other)
Produce a criteria that is the boolean "or" of this and the given other criteria |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.ehcache.search.expression.Criteria |
execute |
BaseCriteria
public BaseCriteria()
and
public Criteria and(Criteria other)
- Produce a criteria that is the boolean "and" of this and the given other criteria
- Specified by:
and
in interface Criteria
- Returns:
- and criteria
not
public Criteria not()
- Produce a criteria that is the boolean "not" of this
- Specified by:
not
in interface Criteria
- Returns:
- not criteria
or
public Criteria or(Criteria other)
- Produce a criteria that is the boolean "or" of this and the given other criteria
- Specified by:
or
in interface Criteria
- Returns:
- or criteria
true