|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.sail.query.Var
A variable that can contain a Value.
| Constructor Summary | |
Var(String name)
|
|
Var(String name,
Value value)
|
|
| Method Summary | |
boolean |
equals(Object other)
|
String |
getName()
|
String |
getString()
Gets the String value for this expression. |
Value |
getValue()
Gets the value of this expression. |
void |
getVariables(Collection variables)
Gets all variables that are used in this StringExpr. |
int |
hashCode()
|
boolean |
hasValue()
|
boolean |
isAnonymous()
|
void |
setAnonymous(boolean anonymous)
|
void |
setValue(Value value)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
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 setValue(Value value)
public boolean hasValue()
public Value getValue()
ValueExpr
getValue in interface ValueExprpublic String getString()
StringExpr
getString in interface StringExprpublic void getVariables(Collection variables)
StringExpr
getVariables in interface StringExprvariables - a Collection to add relevant Var objects to.public boolean equals(Object other)
public int hashCode()
public String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||