|
Protégé-OWL 3.4 beta | ||||||||
| 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.DefaultRDFSNamedClass
edu.stanford.smi.protegex.owl.model.impl.DefaultOWLNamedClass
public class DefaultOWLNamedClass
The default implementation of the OWLNamedClass interface.
| Constructor Summary | |
|---|---|
DefaultOWLNamedClass()
|
|
DefaultOWLNamedClass(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 |
addDisjointClass(RDFSClass aClass)
Adds a class to the list of disjoint classes of this. |
void |
addEquivalentClass(RDFSClass aClass)
Adds a given class to the list of equivalent classes of this. |
void |
addInferredSuperclass(RDFSClass superclass)
Adds a computed superclass, as the result of a classification. |
OWLIndividual |
createOWLIndividual(String name)
Creates a new individual of this (assuming this is not a metaclass). |
boolean |
equalsStructurally(RDFSClass cls)
|
RDFResource |
getAllValuesFrom(RDFProperty property)
Gets the allowed class for a given property. |
Set |
getAssociatedProperties()
Gets all properties that have been associated with this class. |
int |
getClassificationStatus()
Gets the classification status (whether this class is marked as inconsistent or not). |
Collection |
getDirectRestrictions()
|
Object |
getHasValue(RDFProperty property)
Gets the value of an arbitrary owl:hasValue restriction defined on this class. |
Collection |
getHasValues(RDFProperty property)
Gets a collection of values for all owl:hasValue restrictions defined on this class. |
Icon |
getIcon()
|
String |
getIconName()
Gets the local name of an icon for this type of resource. |
ImageIcon |
getImageIcon()
Gets an ImageIcon displaying this. |
Collection |
getInferredEquivalentClasses()
|
Collection |
getInferredSubclasses()
Gets the subclasses that were computed by the most recent call of a classifier. |
Collection |
getInferredSuperclasses()
Gets the superclasses that were computed by the most recent call of a classifier. |
int |
getMaxCardinality(RDFProperty property)
Gets the maximum number of values that are allowed for a given property at this class. |
int |
getMinCardinality(RDFProperty property)
Gets the minimum number of values that are allowed for a given property at this class. |
Collection |
getRestrictions()
Same as getRestrictions(false). |
Collection |
getRestrictions(boolean includingSuperclassRestrictions)
Gets all Restrictions that are defined on this class or (optionally) its superclasses. |
Collection |
getRestrictions(RDFProperty property,
boolean includingSuperclassRestrictions)
Gets all restrictions that are defined on a given property. |
RDFResource |
getSomeValuesFrom(RDFProperty property)
Gets the filler of any defined someValuesFrom restriction for a given property. |
boolean |
getSubclassesDisjoint()
Checks whether all subclasses of this are declared to be disjoint. |
boolean |
hasNamedSuperclass()
Checks whether this has at least one named direct superclass. |
boolean |
hasNamedSuperClass()
|
boolean |
isConsistent()
Determines whether this class has been flagged as being inconsistent or not. |
boolean |
isDefinedClass()
Checks if this is a "defined" class, with necessary and sufficient conditions. |
boolean |
isFunctionalProperty(RDFProperty property)
Checks whether a given property is "functional" at this class. |
boolean |
isProbeClass()
Checks if this has been marked as a probe class, using the protege:probeClass annotation property. |
void |
removeDisjointClass(RDFSClass aClass)
Removes a disjoint class of this. |
void |
removeEquivalentClass(RDFSClass equivalentClass)
Removes an equivalent class. |
void |
removeInferredSuperclass(RDFSClass superclass)
Removes a computed superclass, as the result of a classification. |
void |
setClassificationStatus(int value)
Sets the classification status of this. |
void |
setDefinition(RDFSClass definingClass)
Removes all equivalent classes and then adds the given class (as definition). |
void |
setSubclassesDisjoint(boolean value)
Sets the value of the protege:subclassesDisjoint flag at this class. |
| Methods inherited from class edu.stanford.smi.protegex.owl.model.impl.DefaultRDFSNamedClass |
|---|
createAnonymousInstance, createRDFIndividual, equalsStructurally, getDependingClasses, getFirstSuperclass, getNestedBrowserText, getNestedNamedClasses, getUnionRangeClasses, isAnonymous, isDeprecated, isUntyped, isVisibleFromOWLThing, setDeprecated |
| 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, rename, 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, getBrowserText, 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.protegex.owl.model.OWLNamedClass |
|---|
getDefinition |
| Methods inherited from interface edu.stanford.smi.protegex.owl.model.RDFSNamedClass |
|---|
createAnonymousInstance, createRDFIndividual, getFirstSuperclass, getUnionRangeClasses, isVisibleFromOWLThing |
| Methods inherited from interface edu.stanford.smi.protege.model.Instance |
|---|
moveDirectType |
| Methods inherited from interface edu.stanford.smi.protege.model.Frame |
|---|
assertFrameName, isValid, moveDirectOwnSlotValue |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface edu.stanford.smi.protege.model.Cls |
|---|
getBrowserSlot, getDirectBrowserSlot, getInheritedBrowserSlot, rename |
| Methods inherited from interface edu.stanford.smi.protege.model.Instance |
|---|
moveDirectType |
| Methods inherited from interface edu.stanford.smi.protege.model.Frame |
|---|
assertFrameName, 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 |
|---|
assertFrameName, isValid, moveDirectOwnSlotValue |
| 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.Deprecatable |
|---|
isDeprecated, setDeprecated |
| Methods inherited from interface edu.stanford.smi.protegex.owl.model.OWLClass |
|---|
getDisjointClasses |