|
Protege 3.4.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Slot
A top level slot object. Note that this object does not have "facet overrides" by itself. If you want to get facet
values at a class you need to call Cls.getTemplateFacetValues(Slot, Facet)
Methods inherited from interface edu.stanford.smi.protege.model.Instance |
---|
addDirectType, addInstanceListener, getDirectType, getDirectTypes, getReachableSimpleInstances, hasDirectType, hasType, moveDirectType, removeDirectType, removeInstanceListener, setDirectType, setDirectTypes |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
void addDirectSuperslot(Slot slot)
void addSlotListener(SlotListener listener)
Collection getAllowedClses()
Clses
The behavior of this method is undefined if the slot is not of type InstanceCollection getAllowedParents()
Clses
The behavior of this method is undefined if the slot is not of type ClassCollection getAllowedValues()
boolean getAllowsMultipleValues()
Facet getAssociatedFacet()
Collection getDefaultValues()
int getDirectSubslotCount()
Collection getDirectSubslots()
int getDirectSuperslotCount()
Collection getDirectSuperslots()
boolean hasDirectSuperslot(Slot slot)
boolean hasSuperslot(Slot slot)
void moveDirectSubslot(Slot movedCls, Slot afterCls)
Collection getDocumentation()
getDocumentation
in interface Frame
Slot getInverseSlot()
int getMaximumCardinality()
Number getMaximumValue()
int getMinimumCardinality()
Number getMinimumValue()
Collection getSubslots()
Collection getSuperslots()
Collection getTemplateSlotClses()
Collection getDirectDomain()
Collection getDomain()
Collection getValues()
Frame.getOwnSlotValues(Slot)
What it does do is return the values which will become template slot values when this slot is attached to a class.
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)
setDocumentation
in interface Frame
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)
Slot rename(String name)
Frame
rename
in interface Frame
|
Protege 3.4.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |