edu.stanford.smi.protege.model
Interface Instance
- All Superinterfaces:
- Comparable, Frame
- All Known Subinterfaces:
- Cls, Facet, SimpleInstance, Slot
- All Known Implementing Classes:
- DefaultInstance
- public interface Instance
- extends Frame
An instance of a class. The class is refered to as the direct type.
An instance can only have one direct type.
Note that classes and slots are also instances and implement this interface.
"Simple Instances" are instances which are not classes, slots, or facets. They
have their own interface SimpleInstance.
- Author:
- Ray Fergerson
Methods inherited from interface edu.stanford.smi.protege.model.Frame |
addFrameListener, addOwnFacetValue, addOwnSlotValue, areValidOwnSlotValues, deepCopy, delete, getBrowserText, getDocumentation, getFrameID, getInvalidOwnSlotValuesText, getInvalidOwnSlotValueText, getKnowledgeBase, getName, getOwnFacetValue, getOwnFacetValues, getOwnSlotAllowsMultipleValues, getOwnSlotAndSubslotValues, getOwnSlotDefaultValues, getOwnSlotFacets, getOwnSlotFacetValues, getOwnSlots, getOwnSlotValue, getOwnSlotValueCount, getOwnSlotValues, getOwnSlotValueType, getProject, getReferences, getReferences, hasOwnSlot, isEditable, isIncluded, isSystem, isValid, isValidOwnSlotValue, isVisible, moveOwnSlotValue, removeFrameListener, removeOwnSlotValue, setDocumentation, setDocumentation, setEditable, setIncluded, setName, setOwnFacetValue, setOwnFacetValues, setOwnSlotValue, setOwnSlotValues, setVisible |
addInstanceListener
public void addInstanceListener(InstanceListener listener)
getDirectType
public Cls getDirectType()
getReachableSimpleInstances
public Collection getReachableSimpleInstances()
hasDirectType
public boolean hasDirectType(Cls cls)
hasType
public boolean hasType(Cls cls)
removeInstanceListener
public void removeInstanceListener(InstanceListener listener)
setDirectType
public Instance setDirectType(Cls cls)
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.