|
Protégé-OWL 3.3.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.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.AbstractOWLCardinalityBase
public abstract class AbstractOWLCardinalityBase
The base class of MaxCardi and OWLMinCardinality.
| Constructor Summary | |
|---|---|
AbstractOWLCardinalityBase(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.model.FrameID id,
char operatorChar)
|
|
| Method Summary | |
|---|---|
void |
checkFillerText(String text)
Checks the filler from a textual expression. |
static void |
checkFillerText(String text,
RDFProperty property)
|
boolean |
equalsStructurally(RDFObject object)
Determines whether or not the specified class is structurally equal to this class. |
int |
getCardinality()
Gets the cardinality value in this restriction. |
Collection |
getDependingClasses()
Gets all OWLAnonymousClasses the life cycle of which depends on this. |
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. |
RDFSClass |
getQualifier()
Gets the qualifier class. |
RDFSClass |
getValuesFrom()
If this is a qualified cardinality restriction, then this gets the owl:valuesFrom property value. |
boolean |
isQualified()
Checks if this is a qualified cardinality restriction. |
void |
setCardinality(int value)
Sets the cardinality value in this restriction. |
void |
setFillerText(String text)
Sets the filler from a (valid) textual expression. |
void |
setValuesFrom(RDFSClass value)
|
| 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 |
|---|
getBrowserText, getExpressionRoot, getIcon, getImageIcon, getOwner, isAnonymous, isVisible |
| Methods inherited from class edu.stanford.smi.protege.model.DefaultCls |
|---|
addClsListener, addDirectSuperclass, addDirectTemplateSlot, addTemplateFacetValue, addTemplateSlotValue, createDirectInstance, getBrowserSlot, 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, setDirectTypeOfSubclasses, setTemplateFacetValue, setTemplateFacetValues, setTemplateSlotAllowedClses, setTemplateSlotAllowedParents, setTemplateSlotAllowedValues, setTemplateSlotAllowsMultipleValues, setTemplateSlotDefaultValues, setTemplateSlotDocumentation, setTemplateSlotDocumentation, setTemplateSlotMaximumCardinality, setTemplateSlotMaximumValue, setTemplateSlotMinimumCardinality, setTemplateSlotMinimumValue, setTemplateSlotValue, setTemplateSlotValues, setTemplateSlotValueType |
| 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, removeFrameListener, removeOwnSlotValue, setDirectOwnSlotValue, setDirectOwnSlotValues, setDocumentation, setEditable, setIncluded, setName, 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.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.protegex.owl.model.OWLClass |
|---|
getDisjointClasses |
| 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.protege.model.Cls |
|---|
getBrowserSlot, getDirectBrowserSlot, getInheritedBrowserSlot |
| 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.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.visitor.Visitable |
|---|
accept |
| Constructor Detail |
|---|
public AbstractOWLCardinalityBase(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.model.FrameID id,
char operatorChar)
| Method Detail |
|---|
public void checkFillerText(String text)
throws Exception
OWLRestriction
checkFillerText in interface OWLRestrictiontext - the potential filler value
Exception - to indicate a parse exception
public static void checkFillerText(String text,
RDFProperty property)
throws OWLClassParseException,
NumberFormatException
OWLClassParseException
NumberFormatExceptionpublic boolean equalsStructurally(RDFObject object)
RDFObject
equalsStructurally in interface RDFObjectobject - 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 int getCardinality()
OWLCardinalityBase
getCardinality in interface OWLCardinalityBasepublic RDFSClass getQualifier()
OWLCardinalityBase
getQualifier in interface OWLCardinalityBasegetValuesFrom().public RDFSClass getValuesFrom()
OWLCardinalityBase
getValuesFrom in interface OWLCardinalityBasepublic String getFillerText()
OWLRestriction
getFillerText in interface OWLRestrictionpublic void getNestedNamedClasses(Set set)
RDFSClass
getNestedNamedClasses in interface RDFSClassset - an (initially empty) Set that will contain the nested named classespublic boolean isQualified()
OWLCardinalityBase
isQualified in interface OWLCardinalityBasepublic void setCardinality(int value)
OWLCardinalityBase
setCardinality in interface OWLCardinalityBasevalue - the new cardinality value
public void setFillerText(String text)
throws Exception
OWLRestriction
setFillerText in interface OWLRestrictiontext - the new filler value
Exception - to indicate a parse exceptionpublic void setValuesFrom(RDFSClass value)
setValuesFrom in interface OWLCardinalityBasepublic Collection getDependingClasses()
RDFSClass
getDependingClasses in interface RDFSClassgetDependingClasses in class AbstractOWLAnonymousClass
|
Protégé-OWL 3.3.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | | |||||||||