org.kuali.rice.krad.datadictionary.validation.constraint.resolver
Class MustOccurConstraintsResolver<T extends MustOccurConstrainable>
java.lang.Object
org.kuali.rice.krad.datadictionary.validation.constraint.resolver.MustOccurConstraintsResolver<T>
- Type Parameters:
T
- constrainable type
- 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)
Method Summary |
|
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 |
MustOccurConstraintsResolver
public MustOccurConstraintsResolver()
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–2014 The Kuali Foundation. All rights reserved.