public class DescriptorValueCondition extends Object implements IDescriptorValueCondition, INeedsDescriptorSolver
ICondition.CondType| Constructor and Description |
|---|
DescriptorValueCondition(IValue value,
IDescriptorSolver solver,
String descrName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescriptorName() |
IDescriptorSolver |
getDescriptorSolver() |
IValue |
getValue() |
boolean |
isNegated() |
boolean |
isTrue(Double target) |
boolean |
isTrue(Object target) |
void |
setDescriptorName(String name) |
void |
setDescriptorSolver(IDescriptorSolver solver) |
void |
setIsNegated(boolean isNeg) |
void |
setValue(IValue value) |
String |
toString() |
public DescriptorValueCondition(IValue value, IDescriptorSolver solver, String descrName)
public boolean isTrue(Object target)
isTrue in interface IConditionisTrue in interface IDescriptorValueConditionpublic boolean isTrue(Double target)
isTrue in interface IValueConditionpublic IValue getValue()
getValue in interface IValueConditionpublic void setValue(IValue value)
setValue in interface IValueConditionpublic boolean isNegated()
isNegated in interface IConditionpublic void setIsNegated(boolean isNeg)
setIsNegated in interface IConditionpublic void setDescriptorSolver(IDescriptorSolver solver)
setDescriptorSolver in interface IDescriptorValueConditionsetDescriptorSolver in interface INeedsDescriptorSolverpublic IDescriptorSolver getDescriptorSolver()
getDescriptorSolver in interface IDescriptorValueConditiongetDescriptorSolver in interface INeedsDescriptorSolverpublic void setDescriptorName(String name)
setDescriptorName in interface IDescriptorValueConditionpublic String getDescriptorName()
getDescriptorName in interface IDescriptorValueConditionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.