Class BinaryExpNode
- java.lang.Object
 - 
- com.ibm.fhir.database.utils.query.node.OperatorNode
 - 
- com.ibm.fhir.database.utils.query.node.BinaryExpNode
 
 
 
- 
- All Implemented Interfaces:
 ExpNode
- Direct Known Subclasses:
 AdditiveExpNode,AndExpNode,BetweenExpNode,ComparativeExpNode,EqualityExpNode,EscapeExpNode,LikeExpNode,MultiplicativeExpNode,OrExpNode
public abstract class BinaryExpNode extends OperatorNode
A binary expression for addition, multiplication, comparison etc 
- 
- 
Constructor Summary
Constructors Constructor Description BinaryExpNode() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpNodegetLeft()ExpNodegetRight()voidpopOperands(Stack<ExpNode> stack)Read the operands from the stackvoidsetLeft(ExpNode left)voidsetRight(ExpNode right)StringtoString()- 
Methods inherited from class com.ibm.fhir.database.utils.query.node.OperatorNode
isOperator 
- 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface com.ibm.fhir.database.utils.query.node.ExpNode
isLeftParen, isOperand, isRightParen, precedence, visit 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getLeft
public ExpNode getLeft()
- Returns:
 - the left
 
 
- 
setLeft
public void setLeft(ExpNode left)
- Parameters:
 left- the left to set
 
- 
getRight
public ExpNode getRight()
- Returns:
 - the right
 
 
- 
setRight
public void setRight(ExpNode right)
- Parameters:
 right- the right to set
 
- 
popOperands
public void popOperands(Stack<ExpNode> stack)
Description copied from interface:ExpNodeRead the operands from the stack 
- 
toString
public String toString()
- Overrides:
 toStringin classOperatorNode
 
 - 
 
 -