public interface ConstraintProvider<T extends Constrainable>
CaseConstrainable.class
(2) the Constrainable definition itself may extend Constraint LengthConstrainable.class
(3) provided from some external source, or generated on the fly
The goal here is to provide a mechanism that enables implementing institutions to inject new Constraints and ConstraintProcessor
classes into the DictionaryValidationService implementation via dependency injection.Modifier and Type | Method and Description |
---|---|
List<Constraint> |
getConstraints(T definition,
Class<? extends Constraint> constraintType) |
boolean |
isSupported(Constrainable definition) |
List<Constraint> getConstraints(T definition, Class<? extends Constraint> constraintType)
boolean isSupported(Constrainable definition)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.