public class LiteralNodeImpl extends Object implements LiteralNode, FilterNodeInternal
| Constructor and Description |
|---|
LiteralNodeImpl(Object value,
NodeInfoImpl nodeInfo) |
| Modifier and Type | Method and Description |
|---|---|
List<FilterNodeInternal> |
getChildren() |
ExpressionOperatorTypes.NODE_KIND |
getKind()
Returns the type of the filter expression.
|
String |
getOperator() |
Object |
getValue()
Gets the value of the literal node.
|
boolean |
isCustomNode() |
boolean |
isLeafUnit()
Checks whether the current
ExpressionNode is a leaf unit. |
void |
setValue(Object obj)
Sets the value in the literal node.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasFunction, hasOperator, hasProperty, isLiteralNode, isPropertyNodegetLeafUnitNodes, getNodespublic LiteralNodeImpl(Object value, NodeInfoImpl nodeInfo)
public ExpressionOperatorTypes.NODE_KIND getKind()
ExpressionNodegetKind in interface ExpressionNodeNODE_KIND indicating the type of the current nodepublic List<FilterNodeInternal> getChildren()
getChildren in interface FilterNodeInternalpublic boolean isLeafUnit()
ExpressionNodeExpressionNode is a leaf unit. A leaf unit is a node with at least one leaf node as its child.isLeafUnit in interface ExpressionNodeboolean value indicating whether the ExpressionNode is a leaf unitpublic void setValue(Object obj)
LiteralNodesetValue in interface LiteralNodeobj - Represents the value to be set in the literal nodepublic Object getValue()
LiteralNodegetValue in interface LiteralNodepublic boolean isCustomNode()
isCustomNode in interface FilterNodeInternalpublic String getOperator()
getOperator in interface FilterNodeInternalCopyright © 2020 SAP. All Rights Reserved.