com.hp.hpl.jena.daml
Interface DAMLOntology

All Superinterfaces:
DAMLCommon, RDFNode, Resource
All Known Implementing Classes:
DAMLOntologyImpl

public interface DAMLOntology
extends DAMLCommon

Encapsulates the properties known for a given source ontology.

Version:
CVS info: $Id: DAMLOntology.java,v 1.1 2001/09/24 17:02:39 ijd Exp $
Author:
Ian Dickinson, HP Labs (email)

Method Summary
 void addImportedOntology(java.lang.String uri)
          Add the given ontology to the list of ontologies managed by the knowledge store, and add it as an imoport property to this ontology object.
 NodeIterator getImportedOntologies()
          Answer an iteration of resources that represent the URI's of the ontologies that this ontology imports.
 LiteralAccessor prop_versionInfo()
          Property value accessor for the version info property of the ontology.
 
Methods inherited from interface com.hp.hpl.jena.daml.DAMLCommon
getAll, getDAMLModel, getEquivalenceSet, getEquivalentValues, getNumPropertyValues, getPropertyValue, getPropertyValues, getRDFTypes, getVocabulary, hasRDFType, hasRDFType, prop_comment, prop_equivalentTo, prop_label, prop_type, remove, removeAll, removeProperty, replaceProperty, setPropertyValue, setRDFType, setRDFType
 
Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.Resource
abort, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getModel, getNameSpace, getProperty, getURI, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, isAnon, listProperties, listProperties, removeProperties, toString
 

Method Detail

prop_versionInfo

public LiteralAccessor prop_versionInfo()
Property value accessor for the version info property of the ontology.
Returns:
A literal accessor that gives access to the version info of the ontology.

getImportedOntologies

public NodeIterator getImportedOntologies()
Answer an iteration of resources that represent the URI's of the ontologies that this ontology imports.
Returns:
An iterator over the resources representing imported ontologies

addImportedOntology

public void addImportedOntology(java.lang.String uri)
Add the given ontology to the list of ontologies managed by the knowledge store, and add it as an imoport property to this ontology object.
Parameters:
uri - The URI of the model.


Copyright © 2001 Hewlett-Packard. All Rights Reserved.