|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Dataset
Interface for Dataset ontology class
Use the org.openanzo.common.ontology.AnzoFactory to create instances of this interface.
(URI: http://openanzo.org/types/Dataset)
| Field Summary | |
|---|---|
static org.openrdf.model.URI |
defaultGraphProperty
The Anzo Property for defaultGraph |
static org.openrdf.model.URI |
namedGraphProperty
The Anzo Property for namedGraph |
static org.openrdf.model.URI |
TYPE
The rdf:type for this ontology class |
| 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. |
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. |
| Methods inherited from interface org.openanzo.jastor.GraphThing |
|---|
getProperties, getPropertyValue, getPropertyValue, graph, setPropertyValue, setPropertyValue |
| Methods inherited from interface org.openanzo.jastor.CoreThing |
|---|
clearCache, isRDFType, listStatements, registerListener, removeStatements, resource, unregisterListener, uri |
| Field Detail |
|---|
static final org.openrdf.model.URI TYPE
static final org.openrdf.model.URI defaultGraphProperty
(URI: http://openanzo.org/predicates/defaultGraph)
static final org.openrdf.model.URI namedGraphProperty
(URI: http://openanzo.org/predicates/namedGraph)
| Method Detail |
|---|
info.aduna.collections.iterators.CloseableIterator<NamedGraph> getDefaultGraph()
throws JastorException
Iterator of NamedGraph
JastorExceptiondefaultGraphProperty
void addDefaultGraph(NamedGraph defaultGraph)
throws JastorException
defaultGraph - The NamedGraph to add
JastorExceptiondefaultGraphProperty
NamedGraph addDefaultGraph()
throws JastorException
NamedGraph created
JastorExceptiondefaultGraphProperty
NamedGraph addDefaultGraph(org.openrdf.model.Resource resource)
throws JastorException
NamedGraph 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.
resource - The Resource to add
JastorExceptiondefaultGraphProperty
void removeDefaultGraph(NamedGraph defaultGraph)
throws JastorException
defaultGraph - The NamedGraph to remove
JastorExceptiondefaultGraphProperty
void removeDefaultGraph(org.openrdf.model.Resource defaultGraph)
throws JastorException
defaultGraph - NamedGraph, the value to remove
JastorExceptiondefaultGraphProperty
info.aduna.collections.iterators.CloseableIterator<NamedGraph> getNamedGraph()
throws JastorException
Iterator of NamedGraph
JastorExceptionnamedGraphProperty
void addNamedGraph(NamedGraph namedGraph)
throws JastorException
namedGraph - The NamedGraph to add
JastorExceptionnamedGraphProperty
NamedGraph addNamedGraph()
throws JastorException
NamedGraph created
JastorExceptionnamedGraphProperty
NamedGraph addNamedGraph(org.openrdf.model.Resource resource)
throws JastorException
NamedGraph 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.
resource - The Resource to add
JastorExceptionnamedGraphProperty
void removeNamedGraph(NamedGraph namedGraph)
throws JastorException
namedGraph - The NamedGraph to remove
JastorExceptionnamedGraphProperty
void removeNamedGraph(org.openrdf.model.Resource namedGraph)
throws JastorException
namedGraph - NamedGraph, the value to remove
JastorExceptionnamedGraphProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||