Class UnaryExpNode
- java.lang.Object
-
- com.ibm.fhir.database.utils.query.node.OperatorNode
-
- com.ibm.fhir.database.utils.query.node.UnaryExpNode
-
- All Implemented Interfaces:
ExpNode
- Direct Known Subclasses:
ExistsExpNode,IsNotNullExpNode,IsNullExpNode,NotExistsExpNode,NotExpNode,ParenExpNode
public abstract class UnaryExpNode extends OperatorNode
A unary expression
-
-
Constructor Summary
Constructors Modifier Constructor Description UnaryExpNode()Default public constructor (postponed initialization of the expr value)protectedUnaryExpNode(ExpNode expr)Protected constructor for immediate initialization by a subclass
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpNodegetExpr()voidpopOperands(java.util.Stack<ExpNode> stack)Read the operands from the stackvoidsetExpr(ExpNode expr)java.lang.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
-
-
-
-
Constructor Detail
-
UnaryExpNode
public UnaryExpNode()
Default public constructor (postponed initialization of the expr value)
-
UnaryExpNode
protected UnaryExpNode(ExpNode expr)
Protected constructor for immediate initialization by a subclass- Parameters:
expr-
-
-
Method Detail
-
getExpr
public ExpNode getExpr()
- Returns:
- the expr
-
setExpr
public void setExpr(ExpNode expr)
- Parameters:
expr- the expr to set
-
popOperands
public void popOperands(java.util.Stack<ExpNode> stack)
Description copied from interface:ExpNodeRead the operands from the stack
-
toString
public java.lang.String toString()
- Overrides:
toStringin classOperatorNode
-
-