org.kuali.rice.krad.datadictionary.validation.constraint.resolver
Class MustOccurConstraintsResolver<T extends MustOccurConstrainable>

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.validation.constraint.resolver.MustOccurConstraintsResolver<T>
All Implemented Interfaces:
ConstraintResolver<T>

public class MustOccurConstraintsResolver<T extends MustOccurConstrainable>
extends Object
implements ConstraintResolver<T>

An object that returns the list of must occur constraints for a definition implementing the capability MustOccurConstrainable.

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

Constructor Summary
MustOccurConstraintsResolver()
           
 
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

MustOccurConstraintsResolver

public MustOccurConstraintsResolver()
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 MustOccurConstrainable>
Type Parameters:
C - - the java type of the constraint
Parameters:
definition - - a data dictionary definition
Returns:
- a list of constraints


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.