|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This node expression represents a binary operator. All binary operators have exactly
two children. Examples of binary operators
are AndExpression
and EqualsExpression
.
Method Summary | |
java.lang.Class |
getCommonOperandType()
Returns the class instance suiteable for implementing the result of this expression. |
Expression |
getLeftExpression()
Returns the first child of this node. |
Expression |
getRightExpression()
Returns the second child of this node. |
Methods inherited from interface org.apache.jdo.jdoql.tree.Node |
arrive, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, setObject, setParent, walkNextChild |
Method Detail |
public Expression getLeftExpression()
public Expression getRightExpression()
public java.lang.Class getCommonOperandType()
getJavaClass
. In case of relational binary
expressions, that class instance differs from the type retrieved by
getJavaClass
, because relational binary expressions
have a boolean result type which does not depend of the operand types.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |