public class ContainsPredicate extends EmbeddedConstraintPredicate
Modifier and Type | Field and Description |
---|---|
static String |
OPERATOR |
annotType, valueConstraint
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 |
---|
ContainsPredicate() |
Modifier and Type | Method and Description |
---|---|
AnnotationSet |
doMatch(Annotation annot,
AnnotationSet as)
Get all the annots of the right type that are within the span of
this annot.
|
String |
getOperator()
String representation of the logic operator that the predicate
implements.
|
doMatch, equals, filterMatches, getAnnotType, hashCode, setValue, toString
getAccessor, getValue, matches, setAccessor
public static final String OPERATOR
public ContainsPredicate()
public String getOperator()
ConstraintPredicate
public AnnotationSet doMatch(Annotation annot, AnnotationSet as)
doMatch
in class EmbeddedConstraintPredicate