org.kuali.rice.krad.datadictionary.validation.constraint.resolver
Class SimpleConstraintResolver<T extends Constrainable>

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

public class SimpleConstraintResolver<T extends Constrainable>
extends Object
implements ConstraintResolver<T>


Constructor Summary
SimpleConstraintResolver()
           
 
Method Summary
<C extends Constraint>
List<C>
resolve(T definition)
          Return SimpleConstraint if SimpleConstrainable, otherwise return an empty list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleConstraintResolver

public SimpleConstraintResolver()
Method Detail

resolve

public <C extends Constraint> List<C> resolve(T definition)
Return SimpleConstraint if SimpleConstrainable, otherwise return an empty list.

Specified by:
resolve in interface ConstraintResolver<T extends Constrainable>
Type Parameters:
C - SimpleConstraint
Parameters:
definition - Definition to extract a SimpleConstraint from
Returns:
SimpleConstraint if SimpleConstrainable, otherwise return an empty list.


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