org.openanzo.owl.dataset
Interface Ontology

All Superinterfaces:
CoreThing, DatasetThing
All Known Implementing Classes:
OntologyImpl

public interface Ontology
extends DatasetThing

Interface for Ontology ontology class
Use the org.openanzo.owl.dataset.OWL11Factory to create instances of this interface.

(URI: http://www.w3.org/2002/07/owl#Ontology)





Field Summary
static org.openrdf.model.URI ImportsProperty
          The Anzo Property for Imports
static org.openrdf.model.URI TYPE
          The rdf:type for this ontology class
 
Method Summary
 DatasetThing addImports()
          Adds an anonymous value for the 'Imports' property
 void addImports(DatasetThing Imports)
          Adds a value for the 'Imports' property
 DatasetThing addImports(org.openrdf.model.Resource resource)
          Adds a value for the 'Imports' property.
 info.aduna.collections.iterators.CloseableIterator<DatasetThing> getImports()
          Get an Iterator the 'Imports' property values.
 void registerListener(OntologyListener listener)
          Register a OntologyListener
 void removeImports(DatasetThing Imports)
          Removes a value for the 'Imports' property.
 void unregisterListener(OntologyListener listener)
          Unregister a OntologyListener
 
Methods inherited from interface org.openanzo.jastor.DatasetThing
dataset, getProperties, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValues, namedGraphUri, setPropertyValue, setPropertyValue
 
Methods inherited from interface org.openanzo.jastor.CoreThing
clearCache, isRDFType, listStatements, registerListener, removeStatements, resource, unregisterListener, uri
 

Field Detail

TYPE

static final org.openrdf.model.URI TYPE
The rdf:type for this ontology class


ImportsProperty

static final org.openrdf.model.URI ImportsProperty
The Anzo Property for Imports

(URI: owl11xml:Imports)


Method Detail

getImports

info.aduna.collections.iterators.CloseableIterator<DatasetThing> getImports()
                                                                            throws JastorException
Get an Iterator the 'Imports' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of DatasetThing
Throws:
JastorException
See Also:
ImportsProperty

addImports

void addImports(DatasetThing Imports)
                throws JastorException
Adds a value for the 'Imports' property

Parameters:
Imports - The DatasetThing to add
Throws:
JastorException
See Also:
ImportsProperty

addImports

DatasetThing addImports()
                        throws JastorException
Adds an anonymous value for the 'Imports' property

Returns:
The anoymous DatasetThing created
Throws:
JastorException
See Also:
ImportsProperty

addImports

DatasetThing addImports(org.openrdf.model.Resource resource)
                        throws JastorException
Adds a value for the 'Imports' property. This method is equivalent constructing a new instance of DatasetThing with the factory and calling addImports(org.openanzo.jastor.DatasetThing Imports) The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method should not be used as a shortcut for creating new objects in the model.

Parameters:
resource - The Resource to add
Returns:
org.openanzo.jastor.DatasetThing, value added
Throws:
JastorException
See Also:
ImportsProperty

removeImports

void removeImports(DatasetThing Imports)
                   throws JastorException
Removes a value for the 'Imports' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
Imports - The DatasetThing to remove
Throws:
JastorException
See Also:
ImportsProperty

registerListener

void registerListener(OntologyListener listener)
Register a OntologyListener

Parameters:
listener - OntologyListener to register

unregisterListener

void unregisterListener(OntologyListener listener)
Unregister a OntologyListener

Parameters:
listener - OntologyListener to unregister


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