|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.graph.query.model.ArithmeticOperand
org.modeshape.jcr.query.qom.JcrArithmeticOperand
public class JcrArithmeticOperand
Constructor Summary | |
---|---|
JcrArithmeticOperand(JcrDynamicOperand left,
ArithmeticOperator operator,
JcrDynamicOperand right)
Create a arithmetic dynamic operand that operates upon the supplied operand(s). |
Method Summary | |
---|---|
DynamicOperand |
getLeft()
Get the left-hand operand. |
String |
getOperator()
Get the operator for this binary operand. |
DynamicOperand |
getRight()
Get the right-hand operand. |
JcrDynamicOperand |
left()
Get the left-hand operand. |
JcrDynamicOperand |
right()
Get the right-hand operand. |
Methods inherited from class org.modeshape.graph.query.model.ArithmeticOperand |
---|
accept, equals, hashCode, operator, selectorNames, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.modeshape.graph.query.model.DynamicOperand |
---|
selectorNames |
Methods inherited from interface org.modeshape.graph.query.model.Visitable |
---|
accept |
Constructor Detail |
---|
public JcrArithmeticOperand(JcrDynamicOperand left, ArithmeticOperator operator, JcrDynamicOperand right)
left
- the left-hand-side operandoperator
- the arithmetic operator; may not be nullright
- the right-hand-side operand
IllegalArgumentException
- if any of the arguments is nullMethod Detail |
---|
public JcrDynamicOperand left()
left
in class ArithmeticOperand
ArithmeticOperand.left()
public JcrDynamicOperand right()
right
in class ArithmeticOperand
ArithmeticOperand.right()
public DynamicOperand getLeft()
getLeft
in interface ArithmeticOperand
ArithmeticOperand.getLeft()
public DynamicOperand getRight()
getRight
in interface ArithmeticOperand
ArithmeticOperand.getRight()
public String getOperator()
getOperator
in interface ArithmeticOperand
ArithmeticOperand.getOperator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |