public class Condition extends Object implements BooleanExpression
| Constructor and Description |
|---|
Condition(OperatorType comparisonOperator,
ParameterInstanceRef lValueRef,
ParameterInstanceRef rValueRef) |
Condition(OperatorType comparisonOperator,
ParameterInstanceRef lValueRef,
String stringValue) |
| Modifier and Type | Method and Description |
|---|---|
Set<Parameter> |
getDependentParameters() |
boolean |
isMet(CriteriaEvaluator evaluator) |
void |
resolveValueType()
Called when the type of the parameter used for comparison is known,
so we have to find the value from stringValue that we can compare to it
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprintParsedMatchCriteriapublic Condition(OperatorType comparisonOperator, ParameterInstanceRef lValueRef, ParameterInstanceRef rValueRef)
public Condition(OperatorType comparisonOperator, ParameterInstanceRef lValueRef, String stringValue)
public void resolveValueType()
public boolean isMet(CriteriaEvaluator evaluator)
isMet in interface MatchCriteriapublic Set<Parameter> getDependentParameters()
getDependentParameters in interface MatchCriteriaCopyright © 2017 Space Applications Services. All rights reserved.