public class GreaterEqualPredicate extends ComparablePredicate
comparableValue
accessor, value
EQUAL, GREATER, GREATER_OR_EQUAL, LESSER, LESSER_OR_EQUAL, NOT_EQUAL, NOT_REGEXP_FIND, NOT_REGEXP_MATCH, REGEXP_FIND, REGEXP_MATCH
Constructor and Description |
---|
GreaterEqualPredicate() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doMatch(Object annotValue)
Check if passed value is greater than or equal to stored value
using
Comparable operations. |
String |
getOperator()
String representation of the logic operator that the predicate
implements.
|
compareValue, doMatch, setValue
equals, getAccessor, getValue, hashCode, matches, setAccessor, toString
public GreaterEqualPredicate()
public String getOperator()
ConstraintPredicate
protected boolean doMatch(Object annotValue) throws JapeException
Comparable
operations. Will attempt to do basic type
conversion between the values. Returns false if passed value is
null.doMatch
in class ComparablePredicate
JapeException