public class Field extends ConstraintAdapter
Modifier and Type | Class and Description |
---|---|
static class |
Field.Operation |
Modifier and Type | Field and Description |
---|---|
static Object |
EMPTY
Possible parameter value indicating user desire the field to be empty.
|
static Object |
USE_SECOND_ARG
Possible parameter value indicating the desired value will be given as the second element to
the constraint.
|
blacklist, size
Constructor and Description |
---|
Field(String accessorString,
Field.Operation oper,
Object value)
Constructor with accessor string for the field value of the element and the desired value.
|
Field(String accessorString1,
String accessorString2,
Field.Operation oper)
Constructor with accessor strings for the field value of the element and the desired value
that will be reached from the second element.
|
Modifier and Type | Method and Description |
---|---|
boolean |
satisfies(Match match,
int... ind)
Checks if the element in the first index has the desired value.
|
assertIndLength, canGenerate, convertStepDirection, findDirectionInCatalysis, findDirectionInPathways, generate, getCatalysisDirection, getControlChain, getConvParticipants, getDirection, getDirection, getDirection, getDirection, getVariableSize, setSize
public static final Object EMPTY
public static final Object USE_SECOND_ARG
public Field(String accessorString, Field.Operation oper, Object value)
accessorString
- accessor string for the elementoper
- type of checkvalue
- desired valuepublic Field(String accessorString1, String accessorString2, Field.Operation oper)
accessorString1
- accessor string for the first elementaccessorString2
- accessor string for the second elementoper
- type of checkpublic boolean satisfies(Match match, int... ind)
satisfies
in interface Constraint
satisfies
in class ConstraintAdapter
match
- current pattern matchind
- mapped indicesCopyright © 2015 BioPAX. All rights reserved.