com.hp.hpl.jena.ontology.daml
Interface DAMLOntology

All Superinterfaces:
DAMLCommon, FrontsNode, OntResource, RDFNode, Resource

public interface DAMLOntology
extends DAMLCommon

Encapsulates the properties known for a given source ontology.

Version:
CVS info: $Id: DAMLOntology.java,v 1.5 2005/02/21 12:05:01 andy_seaborne 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.ontology.daml.DAMLCommon
getDAMLModel, getEquivalenceSet, getEquivalentValues, getRDFTypes, getVocabulary, prop_comment, prop_equivalentTo, prop_label, prop_type, setRDFType
 
Methods inherited from interface com.hp.hpl.jena.ontology.OntResource
addComment, addComment, addDifferentFrom, addIsDefinedBy, addLabel, addLabel, addRDFType, addSameAs, addSeeAlso, addVersionInfo, asAllDifferent, asAnnotationProperty, asClass, asDataRange, asDatatypeProperty, asIndividual, asObjectProperty, asOntology, asProperty, getCardinality, getComment, getDifferentFrom, getIsDefinedBy, getLabel, getOntModel, getProfile, getPropertyValue, getRDFType, getRDFType, getSameAs, getSeeAlso, getVersionInfo, hasComment, hasComment, hasLabel, hasLabel, hasRDFType, hasRDFType, hasRDFType, hasSeeAlso, hasVersionInfo, isAllDifferent, isAnnotationProperty, isClass, isDataRange, isDatatypeProperty, isDefinedBy, isDifferentFrom, isIndividual, isObjectProperty, isOntLanguageTerm, isOntology, isProperty, isSameAs, listComments, listDifferentFrom, listIsDefinedBy, listLabels, listPropertyValues, listRDFTypes, listSameAs, listSeeAlso, listVersionInfo, remove, removeComment, removeComment, removeDefinedBy, removeDifferentFrom, removeLabel, removeLabel, removeProperty, removeRDFType, removeSameAs, removeSeeAlso, removeVersionInfo, setComment, setDifferentFrom, setIsDefinedBy, setLabel, setPropertyValue, setRDFType, setSameAs, setSeeAlso, setVersionInfo
 
Methods inherited from interface com.hp.hpl.jena.rdf.model.Resource
abort, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getModel, getNameSpace, getNode, getProperty, getRequiredProperty, getURI, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, listProperties, listProperties, removeAll, removeProperties, toString
 
Methods inherited from interface com.hp.hpl.jena.rdf.model.RDFNode
as, canAs, inModel, isAnon, isLiteral, isResource, isURIResource, visitWith
 
Methods inherited from interface com.hp.hpl.jena.graph.FrontsNode
asNode
 

Method Detail

prop_versionInfo

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

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

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 © 2000, 2001, 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP