|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.query.algebra.QueryModelNodeBase
org.openrdf.query.algebra.Var
public class Var
A variable that can contain a Value.
| Constructor Summary | |
|---|---|
Var()
|
|
Var(String name)
|
|
Var(String name,
Value value)
|
|
| Method Summary | ||
|---|---|---|
Var |
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 |
getName()
|
|
String |
getSignature()
Default implementation of QueryModelNode.getSignature() that
prints the name of the node's class. |
|
Value |
getValue()
|
|
int |
hashCode()
|
|
boolean |
hasValue()
|
|
boolean |
isAnonymous()
|
|
void |
setAnonymous(boolean anonymous)
|
|
void |
setName(String name)
|
|
void |
setValue(Value value)
|
|
|
visit(QueryModelVisitor<X> visitor)
Visits this node. |
|
| Methods inherited from class org.openrdf.query.algebra.QueryModelNodeBase |
|---|
getParentNode, nullEquals, replaceChildNode, replaceNodeInList, replaceWith, setParentNode, toString, visitChildren |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openrdf.query.algebra.QueryModelNode |
|---|
getParentNode, replaceChildNode, replaceWith, setParentNode, toString, visitChildren |
| Constructor Detail |
|---|
public Var()
public Var(String name)
public Var(String name,
Value value)
| Method Detail |
|---|
public void setAnonymous(boolean anonymous)
public boolean isAnonymous()
public String getName()
public void setName(String name)
public void setValue(Value value)
public boolean hasValue()
public Value getValue()
public <X extends Exception> void visit(QueryModelVisitor<X> visitor)
throws X extends Exception
QueryModelNode
visit in interface QueryModelNodeX extends Exceptionpublic String getSignature()
QueryModelNodeBaseQueryModelNode.getSignature() that
prints the name of the node's class.
getSignature in interface QueryModelNodegetSignature in class QueryModelNodeBasepublic boolean equals(Object other)
QueryModelNode
equals in interface QueryModelNodeequals in class Objectpublic int hashCode()
hashCode in class Objectpublic Var clone()
QueryModelNode
clone in interface QueryModelNodeclone in interface ValueExprclone in class QueryModelNodeBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||