org.kuali.rice.krad.datadictionary.validation.constraint.resolver
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
<C extends Constraint>
List<C>
resolve(T definition)
          gets the list of constraints from the provided definition
 

Method Detail

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


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.