org.openanzo.client.jena
Interface IClosableDataset

All Superinterfaces:
com.hp.hpl.jena.query.Dataset
All Known Implementing Classes:
CloseableDatasetServiceDataset

public interface IClosableDataset
extends com.hp.hpl.jena.query.Dataset

Extension of Dataset that allows the dataset to be closed. It also allows for NamedGraphs to be added to the defaultModel and the set of NamedGraphs. This interface assumes the implementation has means to load the NamedGraphs defined in the default and named list of uris.

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Method Summary
 void addDefaultModelUri(java.lang.String uri)
          Add the URI of a NamedGraph to the default model for the dataset.
 void addNamedModelUri(java.lang.String uri)
          Add the URI of a NamedGraph to the set of NamedGraphs.
 void close()
          Close the namedModels and any model used in the defaultModel union Dataset will be unusable once closed
 
Methods inherited from interface com.hp.hpl.jena.query.Dataset
containsNamedModel, getDefaultModel, getLock, getNamedModel, listNames
 

Method Detail

close

void close()
Close the namedModels and any model used in the defaultModel union Dataset will be unusable once closed


addDefaultModelUri

void addDefaultModelUri(java.lang.String uri)
Add the URI of a NamedGraph to the default model for the dataset.

Parameters:
uri -

addNamedModelUri

void addNamedModelUri(java.lang.String uri)
Add the URI of a NamedGraph to the set of NamedGraphs.

Parameters:
uri -


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.