Protege-2000 1.7

edu.stanford.smi.protege.model
Class AbstractFacetConstraint

java.lang.Object
  |
  +--edu.stanford.smi.protege.model.AbstractFacetConstraint
All Implemented Interfaces:
FacetConstraint
Direct Known Subclasses:
MaximumCardinalityConstraint, MinimumCardinalityConstraint, NumericMaximumConstraint, NumericMinimumConstraint, RoleConstraint, ValueTypeConstraint

public abstract class AbstractFacetConstraint
extends Object
implements FacetConstraint

Description of Type

Author:
Ray Fergerson

Constructor Summary
AbstractFacetConstraint()
           
 
Method Summary
 boolean areValidValues(Frame frame, Slot slot, Collection slotValues, Collection facetValues)
           
 boolean isValidValue(Frame frame, Slot slot, Object o, Collection facetValues)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.stanford.smi.protege.model.FacetConstraint
getInvalidValuesText, getInvalidValueText
 

Constructor Detail

AbstractFacetConstraint

public AbstractFacetConstraint()
Method Detail

areValidValues

public boolean areValidValues(Frame frame,
                              Slot slot,
                              Collection slotValues,
                              Collection facetValues)
Specified by:
areValidValues in interface FacetConstraint

isValidValue

public boolean isValidValue(Frame frame,
                            Slot slot,
                            Object o,
                            Collection facetValues)
Specified by:
isValidValue in interface FacetConstraint

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.