gate.jape.constraint
Class EqualPredicate

java.lang.Object
  extended by gate.jape.constraint.AbstractConstraintPredicate
      extended by gate.jape.constraint.EqualPredicate
All Implemented Interfaces:
ConstraintPredicate, Serializable
Direct Known Subclasses:
NotEqualPredicate

public class EqualPredicate
extends AbstractConstraintPredicate

See Also:
Serialized Form

Field Summary
 
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
EqualPredicate()
           
 
Method Summary
 boolean doMatch(Object annotValue, AnnotationSet context)
           
 String getOperator()
          String representation of the logic operator that the predicate implements.
 
Methods inherited from class gate.jape.constraint.AbstractConstraintPredicate
equals, getAccessor, getValue, hashCode, matches, setAccessor, setValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EqualPredicate

public EqualPredicate()
Method Detail

getOperator

public String getOperator()
Description copied from interface: ConstraintPredicate
String representation of the logic operator that the predicate implements.


doMatch

public boolean doMatch(Object annotValue,
                       AnnotationSet context)
                throws JapeException
Specified by:
doMatch in class AbstractConstraintPredicate
Throws:
JapeException