T - constrainable typepublic class DefinitionConstraintResolver<T extends Constrainable> extends Object implements ConstraintResolver<T>
Constrainable.
This definition must also implement the interface Constraint, or a ClassCastException will be thrown.
An example is LengthConstrainable, where members of the definition itself need to be made available to the
ConstraintProcessor.| Constructor and Description |
|---|
DefinitionConstraintResolver() |
| Modifier and Type | Method and Description |
|---|---|
<C extends Constraint> |
resolve(T definition)
gets the list of constraints from the provided definition
|
public DefinitionConstraintResolver()
public <C extends Constraint> List<C> resolve(T definition) throws ClassCastException
ConstraintResolverresolve in interface ConstraintResolver<T extends Constrainable>C - - the java type of the constraintdefinition - - a data dictionary definitionClassCastExceptionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.