Module org.seasar.doma.core
Class AbstractArithmeticOperatorNode
java.lang.Object
org.seasar.doma.internal.expr.node.AbstractArithmeticOperatorNode
- All Implemented Interfaces:
ArithmeticOperatorNode,ExpressionNode,OperatorNode
- Direct Known Subclasses:
AddOperatorNode,DivideOperatorNode,ModOperatorNode,MultiplyOperatorNode,SubtractOperatorNode
public abstract class AbstractArithmeticOperatorNode
extends Object
implements ArithmeticOperatorNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected ExpressionNodeprotected final ExpressionLocationprotected final intprotected ExpressionNode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractArithmeticOperatorNode(ExpressionLocation location, String expression, int priority) -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetLeftNode(ExpressionNode leftNode) voidsetRightNode(ExpressionNode rightNode) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.seasar.doma.internal.expr.node.ExpressionNode
accept
-
Field Details
-
location
-
expression
-
priority
protected final int priority -
leftNode
-
rightNode
-
-
Constructor Details
-
AbstractArithmeticOperatorNode
protected AbstractArithmeticOperatorNode(ExpressionLocation location, String expression, int priority)
-
-
Method Details
-
getLeftNode
- Specified by:
getLeftNodein interfaceArithmeticOperatorNode
-
setLeftNode
-
getRightNode
- Specified by:
getRightNodein interfaceArithmeticOperatorNode
-
setRightNode
-
getLocation
- Specified by:
getLocationin interfaceExpressionNode
-
getExpression
- Specified by:
getExpressionin interfaceExpressionNode
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceOperatorNode
-
toString
-