|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.GraphThingImpl
org.openanzo.common.ontology.DatasetImpl
public class DatasetImpl
Implementation of Dataset
Use the org.openanzo.common.ontology.AnzoFactory to create instances of this class.
(URI: http://openanzo.org/types/Dataset)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.common.ontology.Dataset |
|---|
TYPE |
| Method Summary | |
|---|---|
NamedGraph |
addDefaultGraph()
Adds an anonymous value for the 'defaultGraph' property |
void |
addDefaultGraph(NamedGraph defaultGraph)
Adds a value for the 'defaultGraph' property |
NamedGraph |
addDefaultGraph(org.openrdf.model.Resource resource)
Adds a value for the 'defaultGraph' property. |
NamedGraph |
addNamedGraph()
Adds an anonymous value for the 'namedGraph' property |
void |
addNamedGraph(NamedGraph namedGraph)
Adds a value for the 'namedGraph' property |
NamedGraph |
addNamedGraph(org.openrdf.model.Resource resource)
Adds a value for the 'namedGraph' property. |
info.aduna.collections.iterators.CloseableIterator<NamedGraph> |
getDefaultGraph()
Get an Iterator the 'defaultGraph' property values. |
info.aduna.collections.iterators.CloseableIterator<NamedGraph> |
getNamedGraph()
Get an Iterator the 'namedGraph' property values. |
java.util.Collection<org.openrdf.model.Statement> |
listStatements()
Get set of statements that makeup this THINGS's properties and types |
void |
registerListener(ThingListener listener)
Register a ThingListener for this THING |
void |
removeDefaultGraph(NamedGraph defaultGraph)
Removes a value for the 'defaultGraph' property. |
void |
removeDefaultGraph(org.openrdf.model.Resource defaultGraph)
Remove a 'defaultGraph' property value. |
void |
removeNamedGraph(NamedGraph namedGraph)
Removes a value for the 'namedGraph' property. |
void |
removeNamedGraph(org.openrdf.model.Resource namedGraph)
Remove a 'namedGraph' property value. |
void |
unregisterListener(ThingListener listener)
Unregister a ThingListener for this THING |
| Methods inherited from class org.openanzo.jastor.GraphThingImpl |
|---|
clearCache, equals, getLiteral, getLiteralValue, getProperties, getPropertyValue, getPropertyValue, graph, isRDFType, removeStatements, resource, setPropertyValue, setPropertyValue, toString, uri |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openanzo.jastor.GraphThing |
|---|
getProperties, getPropertyValue, getPropertyValue, graph, setPropertyValue, setPropertyValue |
| Methods inherited from interface org.openanzo.jastor.CoreThing |
|---|
clearCache, isRDFType, removeStatements, resource, uri |
| Method Detail |
|---|
public java.util.Collection<org.openrdf.model.Statement> listStatements()
CoreThing
listStatements in interface CoreThinglistStatements in class GraphThingImpl
public info.aduna.collections.iterators.CloseableIterator<NamedGraph> getDefaultGraph()
throws JastorException
Dataset
getDefaultGraph in interface DatasetIterator of NamedGraph
JastorExceptionDataset.defaultGraphProperty
public void addDefaultGraph(NamedGraph defaultGraph)
throws JastorException
Dataset
addDefaultGraph in interface DatasetdefaultGraph - The NamedGraph to add
JastorExceptionDataset.defaultGraphProperty
public NamedGraph addDefaultGraph()
throws JastorException
Dataset
addDefaultGraph in interface DatasetNamedGraph created
JastorExceptionDataset.defaultGraphProperty
public NamedGraph addDefaultGraph(org.openrdf.model.Resource resource)
throws JastorException
DatasetNamedGraph with the factory
and calling addDefaultGraph(org.openanzo.common.ontology.NamedGraph defaultGraph)
The resource argument have rdf:type http://openanzo.org/types/NamedGraph. That is, this method
should not be used as a shortcut for creating new objects in the model.
addDefaultGraph in interface Datasetresource - The Resource to add
JastorExceptionDataset.defaultGraphProperty
public void removeDefaultGraph(NamedGraph defaultGraph)
throws JastorException
Dataset
removeDefaultGraph in interface DatasetdefaultGraph - The NamedGraph to remove
JastorExceptionDataset.defaultGraphProperty
public void removeDefaultGraph(org.openrdf.model.Resource defaultGraph)
throws JastorException
Dataset
removeDefaultGraph in interface DatasetdefaultGraph - NamedGraph, the value to remove
JastorExceptionDataset.defaultGraphProperty
public info.aduna.collections.iterators.CloseableIterator<NamedGraph> getNamedGraph()
throws JastorException
Dataset
getNamedGraph in interface DatasetIterator of NamedGraph
JastorExceptionDataset.namedGraphProperty
public void addNamedGraph(NamedGraph namedGraph)
throws JastorException
Dataset
addNamedGraph in interface DatasetnamedGraph - The NamedGraph to add
JastorExceptionDataset.namedGraphProperty
public NamedGraph addNamedGraph()
throws JastorException
Dataset
addNamedGraph in interface DatasetNamedGraph created
JastorExceptionDataset.namedGraphProperty
public NamedGraph addNamedGraph(org.openrdf.model.Resource resource)
throws JastorException
DatasetNamedGraph with the factory
and calling addNamedGraph(org.openanzo.common.ontology.NamedGraph namedGraph)
The resource argument have rdf:type http://openanzo.org/types/NamedGraph. That is, this method
should not be used as a shortcut for creating new objects in the model.
addNamedGraph in interface Datasetresource - The Resource to add
JastorExceptionDataset.namedGraphProperty
public void removeNamedGraph(NamedGraph namedGraph)
throws JastorException
Dataset
removeNamedGraph in interface DatasetnamedGraph - The NamedGraph to remove
JastorExceptionDataset.namedGraphProperty
public void removeNamedGraph(org.openrdf.model.Resource namedGraph)
throws JastorException
Dataset
removeNamedGraph in interface DatasetnamedGraph - NamedGraph, the value to remove
JastorExceptionDataset.namedGraphPropertypublic void registerListener(ThingListener listener)
CoreThing
registerListener in interface CoreThingregisterListener in class GraphThingImpllistener - ThingListenerpublic void unregisterListener(ThingListener listener)
CoreThing
unregisterListener in interface CoreThingunregisterListener in class GraphThingImpllistener - ThingListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||