java.lang.Object
org.kuali.rice.krad.datadictionary.validation.constraint.resolver.CaseConstraintResolver<T>
Type Parameters:
T - constrainable type
All Implemented Interfaces:
ConstraintResolver<T>

public class CaseConstraintResolver<T extends CaseConstrainable> extends Object implements ConstraintResolver<T>
CaseConstraintResolver returns the case constraint as a list for a definition implementing the capability CaseConstrainable
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • CaseConstraintResolver

      public CaseConstraintResolver()
  • Method Details

    • resolve

      public <C extends Constraint> List<C> resolve(T definition)
      Description copied from interface: ConstraintResolver
      gets the list of constraints from the provided definition
      Specified by:
      resolve in interface ConstraintResolver<T extends CaseConstrainable>
      Type Parameters:
      C - - the java type of the constraint
      Parameters:
      definition - - a data dictionary definition
      Returns:
      - a list of constraints