|
Protégé-OWL 3.4.1 | ||||||||
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
public class DefaultOWLOntology
The default implementation of the OWLObjectProperty interface.
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)
Imprtant - for usage see OWLOntology |
void |
addImports(URI uri)
|
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<String> |
getImports()
Gets the URIs of the imports (as strings) |
Collection |
getIncompatibleWith()
|
String |
getOntologyURI()
|
Collection |
getPriorVersions()
|
boolean |
isAssociatedTriplestoreEditable()
|
void |
removeBackwardCompatibleWith(String resource)
|
void |
removeImports(String uri)
|
void |
removeIncompatibleWith(String resource)
|
void |
removePriorVersion(String resource)
|
String |
toString()
|
Methods inherited from class edu.stanford.smi.protege.model.DefaultSimpleInstance |
---|
rename |
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, assertFrameName, 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, removeFrameListener, removeOwnSlotValue, setDirectOwnSlotValue, setDirectOwnSlotValues, setDocumentation, setEditable, setIncluded, setOwnFacetValue, setOwnFacetValues, setOwnSlotValue, setOwnSlotValues, setSystem, setVisible |
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 |
---|
assertFrameName, getFrameID, isValid, moveDirectOwnSlotValue, rename |
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
visitor
- The visitor that will operate on this object.public void addBackwardCompatibleWith(String resource)
addBackwardCompatibleWith
in interface OWLOntology
public void addImports(String uri)
OWLOntology
addImports
in interface OWLOntology
uri
- edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser#addImport
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
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
object
- The class to test against.
true
if the class is structurally equal
to this, false
if the class is not structurally
equal to this.public Collection getBackwardCompatibleWith()
getBackwardCompatibleWith
in interface OWLOntology
public String getBrowserText()
RDFResource
getBrowserText
in interface edu.stanford.smi.protege.model.Frame
getBrowserText
in interface ProtegeInstance
getBrowserText
in interface RDFObject
getBrowserText
in interface RDFResource
getBrowserText
in class edu.stanford.smi.protege.model.DefaultInstance
public Icon getIcon()
getIcon
in interface edu.stanford.smi.protege.model.Frame
getIcon
in interface ProtegeInstance
getIcon
in class DefaultRDFIndividual
ProtegeUI.getIcon(edu.stanford.smi.protegex.owl.model.RDFResource)
public Collection<String> 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
public boolean isAssociatedTriplestoreEditable()
public String toString()
toString
in class DefaultRDFIndividual
|
Protégé-OWL 3.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |