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 ICondition
isTrue
in interface IDescriptorValueCondition
public boolean isTrue(Double target)
isTrue
in interface IValueCondition
public IValue getValue()
getValue
in interface IValueCondition
public void setValue(IValue value)
setValue
in interface IValueCondition
public boolean isNegated()
isNegated
in interface ICondition
public void setIsNegated(boolean isNeg)
setIsNegated
in interface ICondition
public void setDescriptorSolver(IDescriptorSolver solver)
setDescriptorSolver
in interface IDescriptorValueCondition
setDescriptorSolver
in interface INeedsDescriptorSolver
public IDescriptorSolver getDescriptorSolver()
getDescriptorSolver
in interface IDescriptorValueCondition
getDescriptorSolver
in interface INeedsDescriptorSolver
public void setDescriptorName(String name)
setDescriptorName
in interface IDescriptorValueCondition
public String getDescriptorName()
getDescriptorName
in interface IDescriptorValueCondition
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.