|
Protégé-OWL 3.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OWLOntology
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<String> |
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 |
---|
assertFrameName, getFrameID, isValid, moveDirectOwnSlotValue, rename |
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 |
---|
void addBackwardCompatibleWith(String resource)
void addImports(String uri)
ProtegeOWLParser
(for file-based projects).
uri
- an URI (not ending with a deliminator such as #)edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser#addImport
void addImports(URI uri)
uri
- void addImports(RDFExternalResource resource)
void addImports(OWLOntology ontology)
void addImports(RDFUntypedResource resource)
void addIncompatibleWith(String resource)
void addPriorVersion(String resource)
Collection getBackwardCompatibleWith()
Collection<String> getImports()
Collection getImportResources()
Collection getIncompatibleWith()
String getOntologyURI()
RDFResource.getURI()
Collection getPriorVersions()
void removeBackwardCompatibleWith(String resource)
void removeImports(String uri)
void removeIncompatibleWith(String resource)
void removePriorVersion(String resource)
|
Protégé-OWL 3.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |