public class ExpressionNode extends Object
| Constructor and Description |
|---|
ExpressionNode(ExpressionOperator ops)
Build only with Operator (no sheet, no subnodes)
|
ExpressionNode(String sheetValue)
Constructor for sheet of tree (no operator).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
evalue(Map<String,Boolean> stateMap)
Evalue the whole expression tree.
|
ExpressionOperator |
getOperator()
Getter accessor for attribute 'operator'.
|
List<ExpressionNode> |
getSubNodes()
Getter accessor for attribute 'subNodes'.
|
String |
getValue()
Getter accessor for attribute 'value'.
|
void |
setOperator(ExpressionOperator operator)
Setter accessor for attribute 'operator'.
|
void |
setValue(String value)
Setter accessor for attribute 'value'.
|
String |
toString() |
public ExpressionNode(String sheetValue)
sheetValue - string expression for sheet, should be feature idpublic ExpressionNode(ExpressionOperator ops)
ops - target Operator.public boolean evalue(Map<String,Boolean> stateMap)
public ExpressionOperator getOperator()
public void setOperator(ExpressionOperator operator)
operator - new value for 'operator 'public String getValue()
public void setValue(String value)
value - new value for 'value 'public List<ExpressionNode> getSubNodes()
Copyright © 2013–2015 FF4J. All rights reserved.