|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protege.model.DefaultFrame
edu.stanford.smi.protege.model.DefaultInstance
edu.stanford.smi.protege.model.DefaultSimpleInstance
edu.stanford.smi.protegex.owl.model.impl.DefaultRDFIndividual
edu.stanford.smi.protegex.owl.model.impl.DefaultOWLOntology
The default implementation of the OWLObjectProperty interface.
Field Summary |
Fields inherited from class edu.stanford.smi.protege.model.DefaultFrame |
|
Constructor Summary | |
DefaultOWLOntology()
|
|
DefaultOWLOntology(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.model.FrameID id)
|
Method Summary | |
void |
accept(OWLModelVisitor visitor)
This method is provided to be used with the OWLModelVisitor ,
which is part of the visitor design pattern. |
void |
addBackwardCompatibleWith(String resource)
|
void |
addImports(OWLOntology ontology)
|
void |
addImports(RDFExternalResource resource)
|
void |
addImports(RDFUntypedResource resource)
|
void |
addImports(String uri)
Adds an URI to the owl:imports statements of this ontology. |
void |
addImports(URI uri)
|
private void |
addImportsHelper(Object resource)
|
void |
addIncompatibleWith(String resource)
|
void |
addPriorVersion(String resource)
|
boolean |
equalsStructurally(RDFObject object)
Determines whether or not the specified class is structurally equal to this class. |
Collection |
getBackwardCompatibleWith()
|
String |
getBrowserText()
Gets a human-readable visual representation of this resource. |
Icon |
getIcon()
|
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()
|
Collection |
getPriorVersions()
|
void |
removeBackwardCompatibleWith(String resource)
|
void |
removeImports(String uri)
|
void |
removeIncompatibleWith(String resource)
|
void |
removePriorVersion(String resource)
|
Methods inherited from class edu.stanford.smi.protege.model.DefaultSimpleInstance |
toString |
Methods inherited from class edu.stanford.smi.protege.model.DefaultInstance |
addDirectType, addInstanceListener, copy, deepCopy, getDirectType, getDirectTypes, getOwnFacetValue, getOwnFacetValues, getReachableSimpleInstances, hasDirectType, hasType, moveDirectType, removeDirectType, removeInstanceListener, setDirectType, setDirectTypes, shallowCopy |
Methods inherited from class edu.stanford.smi.protege.model.DefaultFrame |
addFrameListener, addOwnFacetValue, addOwnSlotValue, areValidOwnSlotValues, compareTo, delete, equals, equals, getDefaultKnowledgeBase, getDefiningProjectURI, getDirectOwnSlotValue, getDirectOwnSlotValues, getFrameID, getInvalidOwnSlotValuesText, getInvalidOwnSlotValueText, getKnowledgeBase, getName, getOwnSlotAllowsMultipleValues, getOwnSlotAndSubslotValues, getOwnSlotDefaultValues, getOwnSlotFacets, getOwnSlotFacetValues, getOwnSlots, getOwnSlotValue, getOwnSlotValueCount, getOwnSlotValues, getOwnSlotValueType, getProject, getReferences, getReferences, hashCode, hasOwnSlot, isBeingDeleted, isDeleted, isEditable, isIncluded, isSystem, isValid, isValidOwnSlotValue, isVisible, localize, markDeleted, markDeleting, moveDirectOwnSlotValue, readExternal, removeFrameListener, removeOwnSlotValue, setDirectOwnSlotValue, setDirectOwnSlotValues, setDocumentation, setEditable, setIncluded, setName, setOwnFacetValue, setOwnFacetValues, setOwnSlotValue, setOwnSlotValues, setSystem, setVisible, writeExternal |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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 |
Constructor Detail |
public DefaultOWLOntology(edu.stanford.smi.protege.model.KnowledgeBase kb, edu.stanford.smi.protege.model.FrameID id)
public DefaultOWLOntology()
Method Detail |
public void accept(OWLModelVisitor visitor)
Visitable
OWLModelVisitor
,
which is part of the visitor design pattern. By implementing this method,
instances of the implementing class are stating that they can accept an
OWLModelVisitor
accept
in interface Visitable
accept
in class DefaultRDFIndividual
public void addBackwardCompatibleWith(String resource)
addBackwardCompatibleWith
in interface OWLOntology
public void addImports(String uri)
OWLOntology
ProtegeOWLParser
(for file-based projects).
addImports
in interface OWLOntology
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)
addImports
in interface OWLOntology
public void addImports(RDFExternalResource resource)
addImports
in interface OWLOntology
public void addImports(RDFUntypedResource resource)
addImports
in interface OWLOntology
public void addImports(OWLOntology ontology)
addImports
in interface OWLOntology
private void addImportsHelper(Object resource)
public void addIncompatibleWith(String resource)
addIncompatibleWith
in interface OWLOntology
public void addPriorVersion(String resource)
addPriorVersion
in interface OWLOntology
public boolean equalsStructurally(RDFObject object)
RDFObject
equalsStructurally
in interface RDFObject
equalsStructurally
in class DefaultRDFIndividual
public Collection getBackwardCompatibleWith()
getBackwardCompatibleWith
in interface OWLOntology
public String getBrowserText()
RDFResource
getBrowserText
in interface RDFResource
public Icon getIcon()
getIcon
in interface ProtegeInstance
getIcon
in class DefaultRDFIndividual
public Collection getImports()
OWLOntology
getImports
in interface OWLOntology
public Collection getImportResources()
OWLOntology
getImportResources
in interface OWLOntology
public Collection getIncompatibleWith()
getIncompatibleWith
in interface OWLOntology
public String getOntologyURI()
getOntologyURI
in interface OWLOntology
RDFResource.getURI()
public Collection getPriorVersions()
getPriorVersions
in interface OWLOntology
public void removeBackwardCompatibleWith(String resource)
removeBackwardCompatibleWith
in interface OWLOntology
public void removeImports(String uri)
removeImports
in interface OWLOntology
public void removeIncompatibleWith(String resource)
removeIncompatibleWith
in interface OWLOntology
public void removePriorVersion(String resource)
removePriorVersion
in interface OWLOntology
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |