gate.jape.constraint
Class NotWithinPredicate

java.lang.Object
  extended by gate.jape.constraint.AbstractConstraintPredicate
      extended by gate.jape.constraint.EmbeddedConstraintPredicate
          extended by gate.jape.constraint.WithinPredicate
              extended by 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

Field Summary
static String OPERATOR
           
 
Fields inherited from class gate.jape.constraint.EmbeddedConstraintPredicate
annotType, valueConstraint
 
Fields inherited from class gate.jape.constraint.AbstractConstraintPredicate
accessor, value
 
Fields inherited from interface gate.jape.constraint.ConstraintPredicate
EQUAL, GREATER, GREATER_OR_EQUAL, LESSER, LESSER_OR_EQUAL, NOT_EQUAL, NOT_REGEXP_FIND, NOT_REGEXP_MATCH, REGEXP_FIND, REGEXP_MATCH
 
Constructor Summary
NotWithinPredicate()
           
 
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.
 
Methods inherited from class gate.jape.constraint.WithinPredicate
doMatch
 
Methods inherited from class gate.jape.constraint.EmbeddedConstraintPredicate
equals, filterMatches, getAnnotType, hashCode, setValue, toString
 
Methods inherited from class gate.jape.constraint.AbstractConstraintPredicate
getAccessor, getValue, matches, setAccessor
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

OPERATOR

public static final String OPERATOR
See Also:
Constant Field Values
Constructor Detail

NotWithinPredicate

public NotWithinPredicate()
Method Detail

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