public class DatasetOne extends DatasetImpl
Transactional.Promote| Constructor and Description |
|---|
DatasetOne(Model model) |
| Modifier and Type | Method and Description |
|---|---|
Dataset |
addNamedModel(String uri,
Model model)
Set a named graph.
|
boolean |
containsNamedModel(String uri)
Does the dataset contain a model with the name supplied?
|
static Dataset |
create(Model model) |
Model |
getDefaultModel()
Get the default graph as a Jena Model
|
Model |
getNamedModel(String uri)
Get a graph by name as a Jena Model
|
Dataset |
removeNamedModel(String uri)
Remove a named graph.
|
Dataset |
replaceNamedModel(String uri,
Model model)
Change a named graph for another using the same name
|
Dataset |
setDefaultModel(Model model)
Set the default graph.
|
abort, asDatasetGraph, begin, begin, begin, close, commit, end, getContext, getLock, getUnionModel, isEmpty, isInTransaction, listNames, promote, supportsTransactionAbort, supportsTransactions, transactionMode, transactionType, wrapequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpromotepublic DatasetOne(Model model)
public Model getDefaultModel()
DatasetgetDefaultModel in interface DatasetgetDefaultModel in class DatasetImplpublic Dataset setDefaultModel(Model model)
DatasetsetDefaultModel in interface DatasetsetDefaultModel in class DatasetImplmodel - the default graph to setDataset for continued usagepublic Model getNamedModel(String uri)
DatasetgetNamedModel in interface DatasetgetNamedModel in class DatasetImplpublic Dataset addNamedModel(String uri, Model model)
DatasetaddNamedModel in interface DatasetaddNamedModel in class DatasetImpluri - the name of the graph to setmodel - the graph to setDataset for continued usagepublic Dataset removeNamedModel(String uri)
DatasetremoveNamedModel in interface DatasetremoveNamedModel in class DatasetImpluri - the name of the gaph to removeDataset for continued usagepublic Dataset replaceNamedModel(String uri, Model model)
DatasetreplaceNamedModel in interface DatasetreplaceNamedModel in class DatasetImpluri - the name of the graph to replacemodel - the graph with which to replace itDataset for continued usagepublic boolean containsNamedModel(String uri)
DatasetcontainsNamedModel in interface DatasetcontainsNamedModel in class DatasetImplLicenced under the Apache License, Version 2.0