Package net.sf.ehcache.search.expression
Class LessThanOrEqual
- java.lang.Object
-
- net.sf.ehcache.search.expression.BaseCriteria
-
- net.sf.ehcache.search.expression.ComparableValue
-
- net.sf.ehcache.search.expression.LessThanOrEqual
-
- All Implemented Interfaces:
Criteria
public class LessThanOrEqual extends ComparableValue
Less than or equal criteria- Author:
- teck
-
-
Constructor Summary
Constructors Constructor Description LessThanOrEqual(java.lang.String attributeName, java.lang.Object value)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanexecuteComparable(java.lang.Comparable attributeValue)Execute this criteria for the givenComparableattribute valueprotected booleanexecuteComparableString(java.lang.Comparable attributeValue)Execute this criteria for the givenComparablestrin type attribute valuejava.lang.ComparablegetComparableValue()Comparable value.-
Methods inherited from class net.sf.ehcache.search.expression.ComparableValue
execute, getAttributeName, getAttributes, getType, luceneStringCompare
-
Methods inherited from class net.sf.ehcache.search.expression.BaseCriteria
and, getExtractor, not, or
-
-
-
-
Method Detail
-
executeComparable
protected boolean executeComparable(java.lang.Comparable attributeValue)
Execute this criteria for the givenComparableattribute value- Specified by:
executeComparablein classComparableValue- Parameters:
attributeValue- Comparable attribute value- Returns:
- true if criteria is met
-
executeComparableString
protected boolean executeComparableString(java.lang.Comparable attributeValue)
Execute this criteria for the givenComparablestrin type attribute value- Specified by:
executeComparableStringin classComparableValue- Parameters:
attributeValue- Comparable attribute value- Returns:
- true if criteria is met
-
getComparableValue
public java.lang.Comparable getComparableValue()
Comparable value.- Returns:
- value
-
-