Protege-2000 1.7

edu.stanford.smi.protege.model
Interface Slot

All Superinterfaces:
Comparable, Frame, Instance
All Known Implementing Classes:
DefaultSlot

public interface Slot
extends Instance

The description of a constraint on the value of a slot-binding.

Author:
Ray Fergerson

Method Summary
 void addDirectSuperslot(Slot slot)
           
 void addSlotListener(SlotListener listener)
           
 Collection getAllowedClses()
           
 Collection getAllowedParents()
           
 Collection getAllowedValues()
           
 boolean getAllowsMultipleValues()
           
 Facet getAssociatedFacet()
           
 Collection getDefaultValues()
           
 int getDirectSubslotCount()
           
 Collection getDirectSubslots()
           
 int getDirectSuperslotCount()
           
 Collection getDirectSuperslots()
           
 Collection getDocumentation()
           
 Slot getInverseSlot()
           
 int getMaximumCardinality()
           
 Number getMaximumValue()
           
 int getMinimumCardinality()
           
 Number getMinimumValue()
           
 Collection getSubslots()
           
 Collection getSuperslots()
           
 Collection getTemplateSlotClses()
           
 Collection getValues()
           
 ValueType getValueType()
           
 boolean hasValueAtSomeFrame()
           
 void removeDirectSuperslot(Slot slot)
           
 void removeSlotListener(SlotListener listener)
           
 void setAllowedClses(Collection clses)
           
 void setAllowedParents(Collection parents)
           
 void setAllowedValues(Collection values)
           
 void setAllowsMultipleValues(boolean b)
           
 void setAssociatedFacet(Facet facet)
           
 void setDefaultValues(Collection values)
           
 void setDirectTypeOfSubslots(Cls cls)
           
 void setDocumentation(String doc)
           
 void setInverseSlot(Slot slot)
           
 void setMaximumCardinality(int max)
           
 void setMaximumValue(Number n)
           
 void setMinimumCardinality(int min)
           
 void setMinimumValue(Number n)
           
 void setValues(Collection values)
           
 void setValueType(ValueType type)
           
 
Methods inherited from interface edu.stanford.smi.protege.model.Instance
addInstanceListener, getDirectType, getReachableSimpleInstances, hasDirectType, hasType, removeInstanceListener, setDirectType
 
Methods inherited from interface edu.stanford.smi.protege.model.Frame
addFrameListener, addOwnFacetValue, addOwnSlotValue, areValidOwnSlotValues, deepCopy, delete, getBrowserText, 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, setEditable, setIncluded, setName, setOwnFacetValue, setOwnFacetValues, setOwnSlotValue, setOwnSlotValues, setVisible
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

addDirectSuperslot

public void addDirectSuperslot(Slot slot)

addSlotListener

public void addSlotListener(SlotListener listener)

getAllowedClses

public Collection getAllowedClses()

getAllowedParents

public Collection getAllowedParents()

getAllowedValues

public Collection getAllowedValues()

getAllowsMultipleValues

public boolean getAllowsMultipleValues()

getAssociatedFacet

public Facet getAssociatedFacet()

getDefaultValues

public Collection getDefaultValues()

getDirectSubslotCount

public int getDirectSubslotCount()

getDirectSubslots

public Collection getDirectSubslots()

getDirectSuperslotCount

public int getDirectSuperslotCount()

getDirectSuperslots

public Collection getDirectSuperslots()

getDocumentation

public Collection getDocumentation()
Specified by:
getDocumentation in interface Frame

getInverseSlot

public Slot getInverseSlot()

getMaximumCardinality

public int getMaximumCardinality()

getMaximumValue

public Number getMaximumValue()

getMinimumCardinality

public int getMinimumCardinality()

getMinimumValue

public Number getMinimumValue()

getSubslots

public Collection getSubslots()

getSuperslots

public Collection getSuperslots()

getTemplateSlotClses

public Collection getTemplateSlotClses()

getValues

public Collection getValues()

getValueType

public ValueType getValueType()

hasValueAtSomeFrame

public boolean hasValueAtSomeFrame()

removeDirectSuperslot

public void removeDirectSuperslot(Slot slot)

removeSlotListener

public void removeSlotListener(SlotListener listener)

setAllowedClses

public void setAllowedClses(Collection clses)

setAllowedParents

public void setAllowedParents(Collection parents)

setAllowedValues

public void setAllowedValues(Collection values)

setAllowsMultipleValues

public void setAllowsMultipleValues(boolean b)

setAssociatedFacet

public void setAssociatedFacet(Facet facet)

setDefaultValues

public void setDefaultValues(Collection values)

setDirectTypeOfSubslots

public void setDirectTypeOfSubslots(Cls cls)

setDocumentation

public void setDocumentation(String doc)
Specified by:
setDocumentation in interface Frame

setInverseSlot

public void setInverseSlot(Slot slot)

setMaximumCardinality

public void setMaximumCardinality(int max)

setMaximumValue

public void setMaximumValue(Number n)

setMinimumCardinality

public void setMinimumCardinality(int min)

setMinimumValue

public void setMinimumValue(Number n)

setValues

public void setValues(Collection values)

setValueType

public void setValueType(ValueType type)

Protege-2000 1.7

Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.