gate.jape.constraint
Class GreaterEqualPredicate
java.lang.Object
gate.jape.constraint.AbstractConstraintPredicate
gate.jape.constraint.ComparablePredicate
gate.jape.constraint.GreaterEqualPredicate
- All Implemented Interfaces:
- ConstraintPredicate, Serializable
public class GreaterEqualPredicate
- extends ComparablePredicate
- See Also:
- Serialized Form
|
Method Summary |
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. |
GreaterEqualPredicate
public GreaterEqualPredicate()
getOperator
public String getOperator()
- Description copied from interface:
ConstraintPredicate
- String representation of the logic operator that the predicate
implements.
doMatch
protected boolean doMatch(Object annotValue)
throws JapeException
- Check if passed value is greater than or equal to stored value
using
Comparable operations. Will attempt to do basic type
conversion between the values. Returns false if passed value is
null.
- Specified by:
doMatch in class ComparablePredicate
- Throws:
JapeException