|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A RDFIndividual that represents an OWL Ontology (tag). Ontologies represent metadata such as versioning info and includes. There is usually only one Ontology defined in each OWL file.
Although this inherits namespace support, the Ontology's URI itself is stored in a separate own slot, which is accessible through thegetOntologyURI()
and setOntologyURI()
methods. Note that it is not recommended to do low level changes
to OWLOntologies; in particular the name should not be changed.
Method Summary | |
void |
addBackwardCompatibleWith(String resource)
|
void |
addImports(OWLOntology ontology)
|
void |
addImports(RDFExternalResource resource)
Deprecated. use version with RDFUntypedResource instead |
void |
addImports(RDFUntypedResource resource)
|
void |
addImports(String uri)
Adds an URI to the owl:imports statements of this ontology. |
void |
addImports(URI uri)
|
void |
addIncompatibleWith(String resource)
|
void |
addPriorVersion(String resource)
|
Collection |
getBackwardCompatibleWith()
|
Collection |
getImportResources()
Gets the URIs of the imports as RDFUntypedResources or OWLOntologies. |
Collection |
getImports()
Gets the URIs of the imports (as strings) |
Collection |
getIncompatibleWith()
|
String |
getOntologyURI()
Deprecated. now getURI() can be used for that |
Collection |
getPriorVersions()
|
void |
removeBackwardCompatibleWith(String resource)
|
void |
removeImports(String uri)
|
void |
removeIncompatibleWith(String resource)
|
void |
removePriorVersion(String resource)
|
Methods inherited from interface edu.stanford.smi.protege.model.Instance |
moveDirectType |
Methods inherited from interface edu.stanford.smi.protege.model.Frame |
isValid, moveDirectOwnSlotValue |
Methods inherited from interface java.lang.Comparable |
compareTo |
Methods inherited from interface edu.stanford.smi.protegex.owl.model.RDFObject |
equalsStructurally |
Methods inherited from interface edu.stanford.smi.protegex.owl.model.visitor.Visitable |
accept |
Method Detail |
public void addBackwardCompatibleWith(String resource)
public void addImports(String uri)
ProtegeOWLParser
(for file-based projects).
uri
- an URI (not ending with a deliminator such as #)ProtegeOWLParser.addImport(edu.stanford.smi.protegex.owl.jena.JenaOWLModel, java.net.URI)
public void addImports(URI uri)
public void addImports(RDFExternalResource resource)
public void addImports(OWLOntology ontology)
public void addImports(RDFUntypedResource resource)
public void addIncompatibleWith(String resource)
public void addPriorVersion(String resource)
public Collection getBackwardCompatibleWith()
public Collection getImports()
public Collection getImportResources()
public Collection getIncompatibleWith()
public String getOntologyURI()
RDFResource.getURI()
public Collection getPriorVersions()
public void removeBackwardCompatibleWith(String resource)
public void removeImports(String uri)
public void removeIncompatibleWith(String resource)
public void removePriorVersion(String resource)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |