|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteworks.RDF.model.Value
eworks.RQL.model.Variable
An abstract base class for classes that represent RQL variables.
Constructor Summary | |
Variable(String variable)
Constructs a new RQL variable with a certain name. |
Method Summary | |
String |
getName()
Returns the variable's name. |
LiteralValue |
getValue(SymbolTable symbols)
Returns the variable's value, using a certain symbol table. |
String |
toString()
Returns this variable's string representation, that it's name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Variable(String variable)
variable
- The variable's name.Method Detail |
public String getName()
public LiteralValue getValue(SymbolTable symbols) throws VariableNotBoundException
getValue
in class Value
symbols
- The symbol table to look up the variable's value.
VariableNotBoundException
- if this variable cannot be found
inside the given symbol table.public String toString()
|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |