edu.stanford.smi.protege.model
Class MaximumCardinalityConstraint
java.lang.Object
edu.stanford.smi.protege.model.AbstractFacetConstraint
edu.stanford.smi.protege.model.MaximumCardinalityConstraint
- All Implemented Interfaces:
- FacetConstraint, Serializable
- public class MaximumCardinalityConstraint
- extends AbstractFacetConstraint
Constraint on the maximum number of values that a slot may have.
- Author:
- Ray Fergerson
- See Also:
- Serialized Form
MaximumCardinalityConstraint
public MaximumCardinalityConstraint()
getInvalidValuesText
public String getInvalidValuesText(Frame frame,
Slot slot,
Collection slotValues,
Collection facetValues)
getInvalidValueText
public String getInvalidValueText(Frame frame,
Slot slot,
Object o,
Collection facetValues)
allowsMultipleValues
public static boolean allowsMultipleValues(Integer i)
getValue
public static int getValue(Integer i)
getValue
public static Integer getValue(int i)
getValue
public static Integer getValue(boolean allowsMultiple)
getValues
public static Collection getValues(boolean allowsMultiple)
resolve
public Collection resolve(Collection existingValues,
Collection newValues)
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2005 Stanford University.