public class ValueConstant extends AbstractQueryModelNode implements ValueExpr
Constructor and Description |
---|
ValueConstant() |
ValueConstant(Value value) |
Modifier and Type | Method and Description |
---|---|
ValueConstant |
clone()
Returns a (deep) clone of this query model node.
|
boolean |
equals(Object other)
Returns true if this query model node and its children are recursively equal to o and its
children.
|
String |
getSignature()
Default implementation of
QueryModelNode.getSignature() that prints the name of the node's class. |
Value |
getValue() |
int |
hashCode() |
void |
setValue(Value value) |
<X extends Exception> |
visit(QueryModelVisitor<X> visitor)
Visits this node.
|
getParentNode, isGraphPatternGroup, nullEquals, replaceChildNode, replaceNodeInList, replaceWith, setGraphPatternGroup, setParentNode, toString, visitChildren
finalize, getClass, notify, notifyAll, wait, wait, wait
getParentNode, replaceChildNode, replaceWith, setParentNode, toString, visitChildren
public ValueConstant()
public ValueConstant(Value value)
public Value getValue()
public void setValue(Value value)
public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X extends Exception
QueryModelNode
visit
in interface QueryModelNode
X extends Exception
public String getSignature()
AbstractQueryModelNode
QueryModelNode.getSignature()
that prints the name of the node's class.getSignature
in interface QueryModelNode
getSignature
in class AbstractQueryModelNode
public boolean equals(Object other)
QueryModelNode
equals
in interface QueryModelNode
equals
in class Object
public ValueConstant clone()
QueryModelNode
clone
in interface QueryModelNode
clone
in interface ValueExpr
clone
in class AbstractQueryModelNode
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.