|
Protégé-OWL 3.4 beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProtegeSlot
An interface to wrap the Protege Slot interface for OWL. This basically deprecates most methods and points to their replacements in the OWL API.
| Method Summary | |
|---|---|
void |
addDirectSuperslot(edu.stanford.smi.protege.model.Slot slot)
Deprecated. |
void |
addSlotListener(edu.stanford.smi.protege.event.SlotListener listener)
Deprecated. |
Collection |
getAllowedClses()
Deprecated. |
Collection |
getAllowedParents()
Deprecated. set the value of the protege:allowedParents property directly |
Collection |
getAllowedValues()
Deprecated. compare to OWLDataRange as range |
boolean |
getAllowsMultipleValues()
Deprecated. |
edu.stanford.smi.protege.model.Facet |
getAssociatedFacet()
Deprecated. no OWL equivalent |
Collection |
getDefaultValues()
Deprecated. no OWL equivalent |
Collection |
getDirectDomain()
Deprecated. |
int |
getDirectSubslotCount()
Deprecated. |
Collection |
getDirectSubslots()
Deprecated. |
int |
getDirectSuperslotCount()
Deprecated. |
Collection |
getDirectSuperslots()
Deprecated. |
Collection |
getDocumentation()
Deprecated. |
Collection |
getDomain()
Deprecated. |
edu.stanford.smi.protege.model.Slot |
getInverseSlot()
Deprecated. |
int |
getMaximumCardinality()
Deprecated. |
Number |
getMaximumValue()
Deprecated. no OWL equivalent |
int |
getMinimumCardinality()
Deprecated. no OWL equivalent |
Number |
getMinimumValue()
Deprecated. no OWL equivalent |
Collection |
getSubslots()
Deprecated. |
Collection |
getSuperslots()
Deprecated. |
Collection |
getValues()
Returns the "template slot values" for a top level slot. |
edu.stanford.smi.protege.model.ValueType |
getValueType()
Deprecated. |
boolean |
hasDirectSuperslot(edu.stanford.smi.protege.model.Slot slot)
Deprecated. |
boolean |
hasSuperslot(edu.stanford.smi.protege.model.Slot slot)
Deprecated. |
boolean |
hasValueAtSomeFrame()
Deprecated. not needed |
void |
moveDirectSubslot(edu.stanford.smi.protege.model.Slot movedCls,
edu.stanford.smi.protege.model.Slot afterCls)
Deprecated. not needed |
void |
removeDirectSuperslot(edu.stanford.smi.protege.model.Slot slot)
Deprecated. |
void |
removeSlotListener(edu.stanford.smi.protege.event.SlotListener listener)
Deprecated. |
void |
setAllowedClses(Collection clses)
Deprecated. |
void |
setAllowedParents(Collection parents)
Deprecated. set the value of the protege:allowedParents property directly |
void |
setAllowedValues(Collection values)
Deprecated. set an OWLDataRange as range |
void |
setAllowsMultipleValues(boolean b)
Deprecated. |
void |
setAssociatedFacet(edu.stanford.smi.protege.model.Facet facet)
Deprecated. no OWL equivalent |
void |
setDefaultValues(Collection values)
Deprecated. no OWL equivalent |
void |
setDirectTypeOfSubslots(edu.stanford.smi.protege.model.Cls cls)
Deprecated. not needed |
void |
setDocumentation(String doc)
Deprecated. |
void |
setInverseSlot(edu.stanford.smi.protege.model.Slot slot)
Deprecated. |
void |
setMaximumCardinality(int max)
Deprecated. |
void |
setMaximumValue(Number n)
Deprecated. no OWL equivalent |
void |
setMinimumCardinality(int min)
Deprecated. no OWL equivalent |
void |
setMinimumValue(Number n)
Deprecated. no OWL equivalent |
void |
setValues(Collection values)
Deprecated. no OWL equivalent |
void |
setValueType(edu.stanford.smi.protege.model.ValueType type)
Deprecated. |
| Methods inherited from interface edu.stanford.smi.protege.model.Instance |
|---|
moveDirectType |
| Methods inherited from interface edu.stanford.smi.protege.model.Frame |
|---|
assertFrameName, delete, getFrameID, getName, isValid, isVisible, moveDirectOwnSlotValue, setVisible |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface edu.stanford.smi.protege.model.Slot |
|---|
getTemplateSlotClses, rename |
| Methods inherited from interface edu.stanford.smi.protege.model.Instance |
|---|
moveDirectType |
| Methods inherited from interface edu.stanford.smi.protege.model.Frame |
|---|
assertFrameName, delete, getFrameID, getName, isValid, isVisible, moveDirectOwnSlotValue, setVisible |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
void addDirectSuperslot(edu.stanford.smi.protege.model.Slot slot)
addDirectSuperslot in interface edu.stanford.smi.protege.model.SlotRDFProperty.addSuperproperty(edu.stanford.smi.protegex.owl.model.RDFProperty)void addSlotListener(edu.stanford.smi.protege.event.SlotListener listener)
addSlotListener in interface edu.stanford.smi.protege.model.SlotRDFProperty.addPropertyListener(edu.stanford.smi.protegex.owl.model.event.PropertyListener)Collection getAllowedClses()
getAllowedClses in interface edu.stanford.smi.protege.model.SlotRDFProperty.getUnionRangeClasses()Collection getAllowedParents()
getAllowedParents in interface edu.stanford.smi.protege.model.SlotCollection getAllowedValues()
getAllowedValues in interface edu.stanford.smi.protege.model.SlotRDFProperty.getRange()boolean getAllowsMultipleValues()
getAllowsMultipleValues in interface edu.stanford.smi.protege.model.SlotRDFProperty.isFunctional()edu.stanford.smi.protege.model.Facet getAssociatedFacet()
getAssociatedFacet in interface edu.stanford.smi.protege.model.SlotCollection getDefaultValues()
getDefaultValues in interface edu.stanford.smi.protege.model.Slotint getDirectSubslotCount()
getDirectSubslotCount in interface edu.stanford.smi.protege.model.SlotRDFProperty.getSubpropertyCount()Collection getDirectSubslots()
getDirectSubslots in interface edu.stanford.smi.protege.model.Slot(false)int getDirectSuperslotCount()
getDirectSuperslotCount in interface edu.stanford.smi.protege.model.SlotRDFProperty.getSuperpropertyCount()Collection getDirectSuperslots()
getDirectSuperslots in interface edu.stanford.smi.protege.model.Slot(false)boolean hasDirectSuperslot(edu.stanford.smi.protege.model.Slot slot)
hasDirectSuperslot in interface edu.stanford.smi.protege.model.Slot(false)boolean hasSuperslot(edu.stanford.smi.protege.model.Slot slot)
hasSuperslot in interface edu.stanford.smi.protege.model.Slot(true)
void moveDirectSubslot(edu.stanford.smi.protege.model.Slot movedCls,
edu.stanford.smi.protege.model.Slot afterCls)
moveDirectSubslot in interface edu.stanford.smi.protege.model.SlotCollection getDocumentation()
getDocumentation in interface edu.stanford.smi.protege.model.FramegetDocumentation in interface ProtegeInstancegetDocumentation in interface edu.stanford.smi.protege.model.SlotRDFResource.getComments()edu.stanford.smi.protege.model.Slot getInverseSlot()
getInverseSlot in interface edu.stanford.smi.protege.model.SlotRDFProperty.getInverseProperty()int getMaximumCardinality()
getMaximumCardinality in interface edu.stanford.smi.protege.model.SlotRDFProperty.isFunctional()Number getMaximumValue()
getMaximumValue in interface edu.stanford.smi.protege.model.Slotint getMinimumCardinality()
getMinimumCardinality in interface edu.stanford.smi.protege.model.SlotNumber getMinimumValue()
getMinimumValue in interface edu.stanford.smi.protege.model.SlotCollection getSubslots()
getSubslots in interface edu.stanford.smi.protege.model.Slot(true)Collection getSuperslots()
getSuperslots in interface edu.stanford.smi.protege.model.Slot(true)Collection getDirectDomain()
getDirectDomain in interface edu.stanford.smi.protege.model.Slot(false)Collection getDomain()
getDomain in interface edu.stanford.smi.protege.model.Slot(true)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.
getValues in interface edu.stanford.smi.protege.model.Slotedu.stanford.smi.protege.model.ValueType getValueType()
getValueType in interface edu.stanford.smi.protege.model.Slot(true)boolean hasValueAtSomeFrame()
hasValueAtSomeFrame in interface edu.stanford.smi.protege.model.Slotvoid removeDirectSuperslot(edu.stanford.smi.protege.model.Slot slot)
removeDirectSuperslot in interface edu.stanford.smi.protege.model.SlotRDFProperty.removeSuperproperty(edu.stanford.smi.protegex.owl.model.RDFProperty)void removeSlotListener(edu.stanford.smi.protege.event.SlotListener listener)
removeSlotListener in interface edu.stanford.smi.protege.model.SlotRDFProperty.removePropertyListener(edu.stanford.smi.protegex.owl.model.event.PropertyListener)void setAllowedClses(Collection clses)
setAllowedClses in interface edu.stanford.smi.protege.model.SlotRDFProperty.setUnionRangeClasses(java.util.Collection)void setAllowedParents(Collection parents)
setAllowedParents in interface edu.stanford.smi.protege.model.Slotvoid setAllowedValues(Collection values)
setAllowedValues in interface edu.stanford.smi.protege.model.SlotRDFProperty.setRange(edu.stanford.smi.protegex.owl.model.RDFResource)void setAllowsMultipleValues(boolean b)
setAllowsMultipleValues in interface edu.stanford.smi.protege.model.SlotRDFProperty.setFunctional(boolean)void setAssociatedFacet(edu.stanford.smi.protege.model.Facet facet)
setAssociatedFacet in interface edu.stanford.smi.protege.model.Slotvoid setDefaultValues(Collection values)
setDefaultValues in interface edu.stanford.smi.protege.model.Slotvoid setDirectTypeOfSubslots(edu.stanford.smi.protege.model.Cls cls)
setDirectTypeOfSubslots in interface edu.stanford.smi.protege.model.Slotvoid setDocumentation(String doc)
setDocumentation in interface edu.stanford.smi.protege.model.FramesetDocumentation in interface ProtegeInstancesetDocumentation in interface edu.stanford.smi.protege.model.SlotRDFResource.setComment(java.lang.String)void setInverseSlot(edu.stanford.smi.protege.model.Slot slot)
setInverseSlot in interface edu.stanford.smi.protege.model.SlotRDFProperty.setInverseProperty(edu.stanford.smi.protegex.owl.model.RDFProperty)void setMaximumCardinality(int max)
setMaximumCardinality in interface edu.stanford.smi.protege.model.SlotRDFProperty.setFunctional(boolean)void setMaximumValue(Number n)
setMaximumValue in interface edu.stanford.smi.protege.model.Slotvoid setMinimumCardinality(int min)
setMinimumCardinality in interface edu.stanford.smi.protege.model.Slotvoid setMinimumValue(Number n)
setMinimumValue in interface edu.stanford.smi.protege.model.Slotvoid setValues(Collection values)
setValues in interface edu.stanford.smi.protege.model.Slotvoid setValueType(edu.stanford.smi.protege.model.ValueType type)
setValueType in interface edu.stanford.smi.protege.model.SlotRDFProperty.setRange(edu.stanford.smi.protegex.owl.model.RDFResource)
|
Protégé-OWL 3.4 beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||