public class ExpressionBuilderBase.BinaryOperatorBase extends ExpressionBuilderBase.AbstractValue implements ExpressionBuilder.BinaryOperator
Modifier and Type | Field and Description |
---|---|
protected String |
format |
protected ExpressionBuilder.Value |
left |
protected String |
name |
protected ExpressionBuilder.Value |
right |
Constructor and Description |
---|
BinaryOperatorBase(String name,
String format) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ExpressionBuilder.Visitor visitor,
ExpressionBuilder.VisitorFilter filter) |
ExpressionBuilder.Value |
getLeft() |
String |
getName() |
ExpressionBuilder.Value |
getRight() |
ExpressionBuilder.BinaryOperator |
setLeft(ExpressionBuilder.Value operand) |
ExpressionBuilder.BinaryOperator |
setRight(ExpressionBuilder.Value operand) |
String |
toString() |
protected String name
protected String format
protected ExpressionBuilder.Value left
protected ExpressionBuilder.Value right
public String getName()
getName
in interface ExpressionBuilder.BinaryOperator
public void accept(ExpressionBuilder.Visitor visitor, ExpressionBuilder.VisitorFilter filter)
accept
in interface ExpressionBuilder.Visitable
accept
in class ExpressionBuilderBase.AbstractValue
public ExpressionBuilder.BinaryOperator setLeft(ExpressionBuilder.Value operand)
setLeft
in interface ExpressionBuilder.BinaryOperator
public ExpressionBuilder.BinaryOperator setRight(ExpressionBuilder.Value operand)
setRight
in interface ExpressionBuilder.BinaryOperator
public ExpressionBuilder.Value getLeft()
getLeft
in interface ExpressionBuilder.BinaryOperator
public ExpressionBuilder.Value getRight()
getRight
in interface ExpressionBuilder.BinaryOperator