|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jena.web.DatasetAdapter
public class DatasetAdapter
Adapter between Dataset/Model level and DatasetGraph/Graph level
Constructor Summary | |
---|---|
DatasetAdapter(DatasetGraphAccessor updater)
|
Method Summary | |
---|---|
void |
add(Model data)
Add statements to the default model of a Dataset |
void |
add(String graphUri,
Model data)
Add statements to a named model of a Dataset |
boolean |
containsModel(String graphUri)
Does the Dataset contain a named graph? |
void |
deleteDefault()
Delete (which means clear) the default model of a Dataset |
void |
deleteModel(String graphUri)
Delete a named model of a Dataset |
Model |
getModel()
Get the default model of a Dataset |
Model |
getModel(String graphUri)
Get a named model of a Dataset |
void |
putModel(Model data)
Put (replace) the default model of a Dataset |
void |
putModel(String graphUri,
Model data)
Put (create/replace) a named model of a Dataset |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatasetAdapter(DatasetGraphAccessor updater)
Method Detail |
---|
public Model getModel()
getModel
in interface DatasetAccessor
public Model getModel(String graphUri)
getModel
in interface DatasetAccessor
public boolean containsModel(String graphUri)
DatasetAccessor
containsModel
in interface DatasetAccessor
public void putModel(Model data)
putModel
in interface DatasetAccessor
public void putModel(String graphUri, Model data)
putModel
in interface DatasetAccessor
public void deleteDefault()
deleteDefault
in interface DatasetAccessor
public void deleteModel(String graphUri)
deleteModel
in interface DatasetAccessor
public void add(Model data)
add
in interface DatasetAccessor
public void add(String graphUri, Model data)
add
in interface DatasetAccessor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |