gate.jape.constraint
Class NotWithinPredicate
java.lang.Object
gate.jape.constraint.AbstractConstraintPredicate
gate.jape.constraint.EmbeddedConstraintPredicate
gate.jape.constraint.WithinPredicate
gate.jape.constraint.NotWithinPredicate
- All Implemented Interfaces:
- ConstraintPredicate, Serializable
public class NotWithinPredicate
- extends WithinPredicate
Returns false if the given annotation is entirely spanned by an annotation
of the type set in value.
- See Also:
- Serialized Form
Method Summary |
boolean |
doMatch(Object annotValue,
AnnotationSet context)
Sets up environment for concreate class to do the specific matching check |
String |
getOperator()
String representation of the logic operator that the predicate
implements. |
OPERATOR
public static final String OPERATOR
- See Also:
- Constant Field Values
NotWithinPredicate
public NotWithinPredicate()
getOperator
public String getOperator()
- Description copied from interface:
ConstraintPredicate
- String representation of the logic operator that the predicate
implements.
- Specified by:
getOperator
in interface ConstraintPredicate
- Overrides:
getOperator
in class WithinPredicate
doMatch
public boolean doMatch(Object annotValue,
AnnotationSet context)
throws JapeException
- Sets up environment for concreate class to do the specific matching check
- Overrides:
doMatch
in class EmbeddedConstraintPredicate
- Throws:
JapeException