public class ScopedDataset extends Object
| Constructor and Description |
|---|
ScopedDataset(boolean scoped,
String i,
org.antlr.runtime.tree.CommonTree sf,
org.antlr.runtime.tree.CommonTree sr,
org.antlr.runtime.tree.CommonTree idTree,
String pos)
Creates a new
ScopedDataset instance. |
| Modifier and Type | Method and Description |
|---|---|
org.antlr.runtime.tree.CommonTree |
getFunctionTree()
returns the Abstract Tree refering to the SPARQL function to be called.
|
String |
getId()
returns the id string of the current dataset
|
org.antlr.runtime.tree.CommonTree |
getIdTree()
returns the Abstract Tree refering to the SPARQL results.
|
org.antlr.runtime.tree.CommonTree |
getResultsTree()
returns the Abstract Tree refering to the SPARQL function to be called.
|
String |
getVar()
returns the current position of the results being processed.
|
boolean |
isScopedDataset()
Indicates if the current Dataset refers to a scoped dataset
|
void |
setFunctionTree(org.antlr.runtime.tree.CommonTree t)
changes the Abstract Tree refering to the SPARQL function to be called.
|
void |
setIdTree(org.antlr.runtime.tree.CommonTree t)
changes the Abstract Tree refering to the SPARQL results.
|
void |
setResultsTree(org.antlr.runtime.tree.CommonTree t)
returns the Abstract Tree refering to the SPARQL results function to be
called.
|
public ScopedDataset(boolean scoped,
String i,
org.antlr.runtime.tree.CommonTree sf,
org.antlr.runtime.tree.CommonTree sr,
org.antlr.runtime.tree.CommonTree idTree,
String pos)
ScopedDataset instance.scoped - determines if the instance referes to a scoped dataseti - identifier of the scoped datasetsf - SPARQL function to be calledsr - SPARQL results function to be calledidTree - results of the SPARQL callpos - position we are processingpublic boolean isScopedDataset()
boolean valuepublic String getId()
String valuepublic org.antlr.runtime.tree.CommonTree getFunctionTree()
CommonTree valuepublic void setFunctionTree(org.antlr.runtime.tree.CommonTree t)
t - a CommonTree valuepublic org.antlr.runtime.tree.CommonTree getResultsTree()
CommonTree valuepublic void setResultsTree(org.antlr.runtime.tree.CommonTree t)
t - a CommonTree valuepublic org.antlr.runtime.tree.CommonTree getIdTree()
CommonTree valuepublic void setIdTree(org.antlr.runtime.tree.CommonTree t)
t - a CommonTree valuepublic String getVar()
String valueCopyright © 2011–2014 Digital Enterprise Research Institute, Galway. All rights reserved.