edu.stanford.smi.protege.model
Interface Facet
- All Superinterfaces:
- Comparable, Frame, Instance
- All Known Implementing Classes:
- DefaultFacet
- public interface Facet
- extends Instance
A description of a constraint on the value of a frame-slot binding.
This constraint may be placed on any number of frame-slot bindings.
- 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 |
addFacetListener
public void addFacetListener(FacetListener listener)
areValidValues
public boolean areValidValues(Frame frame,
Slot slot,
Collection values)
getAssociatedSlot
public Slot getAssociatedSlot()
getConstraint
public FacetConstraint getConstraint()
getInvalidValuesText
public String getInvalidValuesText(Frame frame,
Slot slot,
Collection values)
getInvalidValueText
public String getInvalidValueText(Frame frame,
Slot slot,
Object item)
getValueType
public ValueType getValueType()
isValidValue
public boolean isValidValue(Frame frame,
Slot slot,
Object value)
removeFacetListener
public void removeFacetListener(FacetListener listener)
setAssociatedSlot
public void setAssociatedSlot(Slot slot)
setConstraint
public void setConstraint(FacetConstraint constraint)
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.