public class Predicate extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Predicate.PredicateType |
Modifier and Type | Field and Description |
---|---|
protected int[] |
alsoFalse
A set of predicates (for the same annotation type) that are also false
if this predicate is false.
|
protected int[] |
alsoTrue
A set of predicates (for the same annotation type) that are also true
if this predicate is true.
|
protected gate.jape.constraint.AnnotationAccessor |
annotationAccessor
The annotation feature this predicate refers to.
|
protected int[] |
converselyFalse
A set of predicates (for the same annotation type) that are false
when this predicate is true.
|
protected int[] |
converselyTrue
A set of predicates (for the same annotation type) that are true
when this predicate is false.
|
protected Serializable |
featureValue
The desired value for the feature.
|
protected Predicate.PredicateType |
type
The type of this predicate (i.e.
|
Constructor and Description |
---|
Predicate() |
protected gate.jape.constraint.AnnotationAccessor annotationAccessor
protected Serializable featureValue
String
Long
Double
Pattern
(for REGEX predicates)SPTBase.Transition.constraints
) used by CONTAINS and WITHIN
predicates to validate potential matchesConstraintPredicate
value, for CUSTOM predicates.protected Predicate.PredicateType type
protected int[] alsoTrue
protected int[] alsoFalse
protected int[] converselyTrue
protected int[] converselyFalse