org.hibernate.hql.ast.tree

Interface BinaryOperatorNode

All Superinterfaces:
OperatorNode
Known Implementing Classes:
BinaryArithmeticOperatorNode, BinaryLogicOperatorNode, InLogicOperatorNode

public interface BinaryOperatorNode
extends OperatorNode

Contract for nodes representing binary operators.
Author:
Steve Ebersole

Method Summary

Node
getLeftHandOperand()
Retrieves the left-hand operand of the operator.
Node
getRightHandOperand()
Retrieves the right-hand operand of the operator.

Methods inherited from interface org.hibernate.hql.ast.tree.OperatorNode

getDataType, initialize

Method Details

getLeftHandOperand

public Node getLeftHandOperand()
Retrieves the left-hand operand of the operator.
Returns:
The left-hand operand

getRightHandOperand

public Node getRightHandOperand()
Retrieves the right-hand operand of the operator.
Returns:
The right-hand operand