org.kuali.rice.krad.datadictionary.validation.constraint.resolver
Class PrerequisiteConstraintsResolver<T extends PrerequisiteConstrainable>

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

public class PrerequisiteConstraintsResolver<T extends PrerequisiteConstrainable>
extends Object
implements ConstraintResolver<T>

An object that returns the list of prerequisite constraints for a definition implementing the capability PrerequisiteConstrainable.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
PrerequisiteConstraintsResolver()
           
 
Method Summary
<C extends Constraint>
List<C>
resolve(T definition)
          gets the list of constraints from the provided definition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrerequisiteConstraintsResolver

public PrerequisiteConstraintsResolver()
Method Detail

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 PrerequisiteConstrainable>
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.