|
|||||||||||
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.DefaultCls
edu.stanford.smi.protegex.owl.model.impl.AbstractRDFSClass
edu.stanford.smi.protegex.owl.model.impl.AbstractOWLAnonymousClass
edu.stanford.smi.protegex.owl.model.impl.AbstractOWLRestriction
edu.stanford.smi.protegex.owl.model.impl.AbstractOWLQuantifierRestriction
The common base class of DefaultOWLAllValuesFrom and DefaultOWLSomeValuesFrom.
Field Summary |
Fields inherited from class edu.stanford.smi.protege.model.DefaultFrame |
|
Constructor Summary | |
(package private) |
AbstractOWLQuantifierRestriction()
|
(package private) |
AbstractOWLQuantifierRestriction(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.model.FrameID id)
|
Method Summary | |
void |
checkFillerText(String text)
Checks the filler from a textual expression. |
static void |
checkFillerText(String text,
RDFProperty property)
|
static void |
checkFillerText(String text,
RDFProperty property,
OWLModel owlModel)
|
boolean |
equalsStructurally(RDFObject cls)
Determines whether or not the specified class is structurally equal to this class. |
Collection |
getDependingClasses()
Gets all OWLAnonymousClasses the life cycle of which depends on this. |
RDFResource |
getFiller()
Gets the filler of this restriction, which is either an RDFSDatatype, an OWLDataRange, or a RDFSClass. |
String |
getFillerText()
Gets the filler of this restriction for display purposes. |
void |
getNestedNamedClasses(Set set)
Gets all RDFSClses that are somewhere used in the expression below this. |
void |
setFiller(RDFResource filler)
Sets the filler of this restriction. |
void |
setFillerText(String text)
Sets the filler from a (valid) textual expression. |
Methods inherited from class edu.stanford.smi.protegex.owl.model.impl.AbstractOWLRestriction |
checkExpression, getBrowserTextFiller, getBrowserTextPropertyName, getNestedBrowserText, getOnProperty, isDefined, isFillerDefined, setOnProperty |
Methods inherited from class edu.stanford.smi.protegex.owl.model.impl.AbstractOWLAnonymousClass |
createClone, getBrowserText, getExpressionRoot, getIcon, getImageIcon, getOwner, isAnonymous, isVisible |
Methods inherited from class edu.stanford.smi.protege.model.DefaultCls |
addClsListener, addDirectSuperclass, addDirectTemplateSlot, addTemplateFacetValue, addTemplateSlotValue, createDirectInstance, getBrowserSlot, getBrowserSlotPattern, getConcreteSubclasses, getDirectBrowserSlot, getDirectBrowserSlotPattern, getDirectInstanceCount, getDirectInstances, getDirectlyOverriddenTemplateFacets, getDirectSubclassCount, getDirectSubclasses, getDirectSuperclassCount, getDirectSuperclasses, getDirectTemplateFacetValues, getDirectTemplateSlots, getDirectTemplateSlotValues, getInheritedBrowserSlot, getInheritedBrowserSlotPattern, getInstanceCount, getInstances, getOverriddenTemplateFacets, getSubclasses, getSuperclasses, getTemplateFacets, getTemplateFacetValue, getTemplateFacetValues, getTemplateSlotAllowedClses, getTemplateSlotAllowedParents, getTemplateSlotAllowedValues, getTemplateSlotAllowsMultipleValues, getTemplateSlotDefaultValues, getTemplateSlotDocumentation, getTemplateSlotMaximumCardinality, getTemplateSlotMaximumValue, getTemplateSlotMinimumCardinality, getTemplateSlotMinimumValue, getTemplateSlots, getTemplateSlotValue, getTemplateSlotValues, getTemplateSlotValueType, getVisibleDirectSubclassCount, getVisibleDirectSubclasses, getVisibleTemplateSlots, hasDirectlyOverriddenTemplateFacet, hasDirectlyOverriddenTemplateSlot, hasDirectSuperclass, hasDirectTemplateSlot, hasInheritedTemplateSlot, hasOverriddenTemplateFacet, hasOverriddenTemplateSlot, hasSuperclass, hasTemplateFacet, hasTemplateSlot, isAbstract, isClsMetaCls, isConcrete, isDefaultClsMetaCls, isDefaultFacetMetaCls, isDefaultSlotMetaCls, isFacetMetaCls, isMetaCls, isRoot, isSlotMetaCls, moveDirectSubclass, moveDirectTemplateSlot, removeClsListener, removeDirectSuperclass, removeDirectTemplateSlot, removeTemplateFacetOverrides, setAbstract, setDirectBrowserSlot, setDirectBrowserSlotPattern, setDirectTypeOfSubclasses, setTemplateFacetValue, setTemplateFacetValues, setTemplateSlotAllowedClses, setTemplateSlotAllowedParents, setTemplateSlotAllowedValues, setTemplateSlotAllowsMultipleValues, setTemplateSlotDefaultValues, setTemplateSlotDocumentation, setTemplateSlotDocumentation, setTemplateSlotMaximumCardinality, setTemplateSlotMaximumValue, setTemplateSlotMinimumCardinality, setTemplateSlotMinimumValue, setTemplateSlotValue, setTemplateSlotValues, setTemplateSlotValueType, 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, 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.protegex.owl.model.OWLRestriction |
getFillerProperty, getOnProperty, getOperator, isDefined, setOnProperty |
Methods inherited from interface edu.stanford.smi.protegex.owl.model.OWLAnonymousClass |
getExpressionRoot, getOwner |
Methods inherited from interface edu.stanford.smi.protege.model.Instance |
moveDirectType |
Methods inherited from interface edu.stanford.smi.protege.model.Frame |
delete, getName, isValid, isVisible, moveDirectOwnSlotValue, setName, setVisible |
Methods inherited from interface java.lang.Comparable |
compareTo |
Methods inherited from interface edu.stanford.smi.protege.model.Cls |
getBrowserSlot, getDirectBrowserSlot, getInheritedBrowserSlot |
Methods inherited from interface edu.stanford.smi.protegex.owl.model.visitor.Visitable |
accept |
Constructor Detail |
AbstractOWLQuantifierRestriction(edu.stanford.smi.protege.model.KnowledgeBase kb, edu.stanford.smi.protege.model.FrameID id)
AbstractOWLQuantifierRestriction()
Method Detail |
public void checkFillerText(String text) throws Exception
OWLRestriction
checkFillerText
in interface OWLRestriction
text
- the potential filler value
Exception
- to indicate a parse exceptionpublic static void checkFillerText(String text, RDFProperty property) throws OWLClassParseException
OWLClassParseException
public static void checkFillerText(String text, RDFProperty property, OWLModel owlModel) throws OWLClassParseException
OWLClassParseException
public boolean equalsStructurally(RDFObject cls)
RDFObject
equalsStructurally
in interface RDFObject
cls
- 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 getDependingClasses()
RDFSClass
getDependingClasses
in interface RDFSClass
getDependingClasses
in class AbstractOWLAnonymousClass
public RDFResource getFiller()
OWLQuantifierRestriction
getFiller
in interface OWLQuantifierRestriction
public String getFillerText()
OWLRestriction
getFillerText
in interface OWLRestriction
public void getNestedNamedClasses(Set set)
RDFSClass
getNestedNamedClasses
in interface RDFSClass
set
- an (initially empty) Set that will contain the nested named classespublic void setFiller(RDFResource filler)
OWLQuantifierRestriction
setFiller
in interface OWLQuantifierRestriction
filler
- an RDFSDatatype, OWLDataRange, or a RDFSClasspublic void setFillerText(String text) throws Exception
OWLRestriction
setFillerText
in interface OWLRestriction
text
- the new filler value
Exception
- to indicate a parse exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |