| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.search.expression.BaseCriteria
net.sf.ehcache.search.expression.Or
public class Or
A search criteria composed of the logical "or" of two or more other criteria
| Constructor Summary | |
|---|---|
| Or(Criteria lhs,
   Criteria rhs)Simple constructor for two criteria | |
| Method Summary | |
|---|---|
|  boolean | execute(Element e,
        Map<String,AttributeExtractor> attributeExtractors)Test this criteria against a cache element | 
|  Set<Attribute<?>> | getAttributes()Returns all search attributes referenced by this instance | 
|  Criteria[] | getCriterion()Return criteria | 
|  Criteria | or(Criteria other)Produce a criteria that is the boolean "or" of this and the given other criteria | 
| Methods inherited from class net.sf.ehcache.search.expression.BaseCriteria | 
|---|
| and, getExtractor, not | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Or(Criteria lhs,
          Criteria rhs)
lhs - the left hand side of the "or" expressionrhs - the right hand side of the "or" expression| Method Detail | 
|---|
public Criteria or(Criteria other)
or in interface Criteriaor in class BaseCriteriapublic Criteria[] getCriterion()
public boolean execute(Element e,
                       Map<String,AttributeExtractor> attributeExtractors)
e - cache elementattributeExtractors - map of attribute extractors to attribute value names
public Set<Attribute<?>> getAttributes()
getAttributes in class BaseCriteria| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||