Interface ConstraintResolver<T extends Constrainable>

Type Parameters:
T - constrainable type
All Known Implementing Classes:
CaseConstraintResolver, DefinitionConstraintResolver, MustOccurConstraintsResolver, PrerequisiteConstraintsResolver, SimpleConstraintResolver, ValidCharactersConstraintResolver

public interface ConstraintResolver<T extends Constrainable>
ConstraintResolver provides a lookup of constraints for a specific constrainable attribute definition

Implemented by constraint providers as a mechanism to store functional lookups in a map, keyed by constraint type, for example.

AttributeDefinitionConstraintProvider for a number of examples.
Since:
1.1
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Method Summary

    Modifier and Type
    Method
    Description
    <C extends Constraint>
    List<C>
    resolve(T definition)
    gets the list of constraints from the provided definition
  • Method Details

    • resolve

      <C extends Constraint> List<C> resolve(T definition)
      gets the list of constraints from the provided definition
      Type Parameters:
      C - - the java type of the constraint
      Parameters:
      definition - - a data dictionary definition
      Returns:
      - a list of constraints