public class HasAnID extends ConstraintAdapter
blacklist, size
Constructor and Description |
---|
HasAnID(IDFetcher fetcher,
Map<BioPAXElement,Set<String>> idMap)
Constructor with the ID fetcher.
|
Modifier and Type | Method and Description |
---|---|
int |
getVariableSize()
Returns 1.
|
boolean |
satisfies(Match match,
int... ind)
Checks if the element has one of the desired IDs.
|
assertIndLength, canGenerate, convertStepDirection, findDirectionInCatalysis, findDirectionInPathways, generate, getCatalysisDirection, getControlChain, getConvParticipants, getDirection, getDirection, getDirection, getDirection, setSize
public int getVariableSize()
getVariableSize
in interface Constraint
getVariableSize
in class ConstraintAdapter
public 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.