org.openanzo.owl
Interface Ontology

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

public interface Ontology
extends GraphThing

Interface for Ontology ontology class
Use the org.openanzo.owl.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
 GraphThing addImports()
          Adds an anonymous value for the 'Imports' property
 void addImports(GraphThing Imports)
          Adds a value for the 'Imports' property
 GraphThing addImports(org.openrdf.model.Resource resource)
          Adds a value for the 'Imports' property.
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getImports()
          Get an Iterator the 'Imports' property values.
 void removeImports(GraphThing Imports)
          Removes a value for the 'Imports' property.
 void removeImports(org.openrdf.model.Resource Imports)
          Remove a 'Imports' 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

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<GraphThing> getImports()
                                                                          throws JastorException
Get an Iterator the 'Imports' property values. This Iteartor may be used to remove all such values.

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

addImports

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

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

addImports

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

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

addImports

GraphThing addImports(org.openrdf.model.Resource resource)
                      throws JastorException
Adds a value for the 'Imports' property. This method is equivalent constructing a new instance of GraphThing with the factory and calling addImports(org.openanzo.jastor.GraphThing 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:
The org.openanzo.jastor.GraphThing created
Throws:
JastorException
See Also:
ImportsProperty

removeImports

void removeImports(GraphThing 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 GraphThing to remove
Throws:
JastorException
See Also:
ImportsProperty

removeImports

void removeImports(org.openrdf.model.Resource Imports)
                   throws JastorException
Remove a 'Imports' property value. 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 - GraphThing, the value to remove
Throws:
JastorException
See Also:
ImportsProperty


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