ehcache

net.sf.ehcache.search.expression
Class GreaterThanOrEqual

java.lang.Object
  extended by net.sf.ehcache.search.expression.BaseCriteria
      extended by net.sf.ehcache.search.expression.ComparableValue
          extended by net.sf.ehcache.search.expression.GreaterThanOrEqual
All Implemented Interfaces:
Criteria

public class GreaterThanOrEqual
extends ComparableValue

Greater than or equal criteria

Author:
teck

Constructor Summary
GreaterThanOrEqual(String attributeName, Object value)
          Constructor
 
Method Summary
protected  boolean executeComparable(Comparable attributeValue)
          Execute this criteria for the given Comparable attribute value
protected  boolean executeComparableString(Comparable attributeValue)
          Execute this criteria for the given Comparable strin type attribute value
 Comparable getComparableValue()
          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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GreaterThanOrEqual

public GreaterThanOrEqual(String attributeName,
                          Object value)
Constructor

Parameters:
attributeName - attribute name
value -
Method Detail

executeComparable

protected boolean executeComparable(Comparable attributeValue)
Execute this criteria for the given Comparable attribute value

Specified by:
executeComparable in class ComparableValue
Parameters:
attributeValue - Comparable attribute value
Returns:
true if criteria is met

executeComparableString

protected boolean executeComparableString(Comparable attributeValue)
Execute this criteria for the given Comparable strin type attribute value

Specified by:
executeComparableString in class ComparableValue
Parameters:
attributeValue - Comparable attribute value
Returns:
true if criteria is met

getComparableValue

public Comparable getComparableValue()
Comparable value.

Returns:
value

ehcache

Copyright 2001-2015, Terracotta, Inc.