public class NotCondition extends Condition
Condition.Anchor
Constructor and Description |
---|
NotCondition(Condition condition) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doesMatch(RuleEvaluation e)
Returns whether this condition matches the given evaluation
at the current location of the evaluation.
|
Condition |
getCondtiion() |
protected boolean |
hasOpenChoicepoint(RuleEvaluation evaluation)
Returns whether there is an open choice in this or any of its subconditions.
|
void |
makeReferences(RuleBase ruleBase)
Override if references needs to be set in this condition of its children
|
void |
setCondition(Condition condition) |
String |
toInnerString()
All instances of this produces a parseable string output
|
getAnchor, getContextName, getLabel, getLabelString, getMatchInfo, getMatchInfoString, getNameSpace, getParent, isDefaultContextName, isReferable, labelMatches, labelMatches, matches, matchesEndAnchor, matchesStartAnchor, postMatchHook, preMatchHook, setAnchor, setContextName, setLabel, setNameSpace, setParent, toString, traceResult
private Condition condition
public NotCondition(Condition condition)
public Condition getCondtiion()
public void setCondition(Condition condition)
protected boolean doesMatch(RuleEvaluation e)
Condition
public String toInnerString()
Condition
toInnerString
in class Condition
public void makeReferences(RuleBase ruleBase)
Condition
makeReferences
in class Condition
protected boolean hasOpenChoicepoint(RuleEvaluation evaluation)
Condition
hasOpenChoicepoint
in class Condition
Copyright © 2018. All rights reserved.