public class Condition extends Object implements CheckableElement
| Modifier and Type | Field and Description |
|---|---|
protected RelationalOperator |
operator |
protected ConditionParameter |
parameter |
protected ParsableValue<?> |
value |
| Constructor and Description |
|---|
Condition() |
Condition(ConditionParameter parameter,
RelationalOperator operator,
ParsableValue<?> value) |
| Modifier and Type | Method and Description |
|---|---|
List<QueryError> |
check() |
RelationalOperator |
getOperator() |
ConditionParameter |
getParameter() |
ParsableValue<?> |
getValue() |
void |
setOperator(RelationalOperator operator) |
void |
setParameter(ConditionParameter parameter) |
void |
setValue(ParsableValue<?> value) |
String |
toString() |
protected ConditionParameter parameter
protected RelationalOperator operator
protected ParsableValue<?> value
public Condition()
public Condition(ConditionParameter parameter, RelationalOperator operator, ParsableValue<?> value)
parameter - operator - value - public ConditionParameter getParameter()
public void setParameter(ConditionParameter parameter)
parameter - the parameter to setpublic RelationalOperator getOperator()
public void setOperator(RelationalOperator operator)
operator - the operator to setpublic ParsableValue<?> getValue()
public void setValue(ParsableValue<?> value)
value - the value to setpublic List<QueryError> check()
check in interface CheckableElementCopyright © 2017. All Rights Reserved.