public class AttributeDefinitionConstraintProvider extends BaseConstraintProvider<AttributeDefinition>
This can either by instantiated by dependency injection, in which case a map of class names to constraint resolvers can be injected, or the default map can be constructed by calling the init() method immediately after instantiation.
resolverMap| Constructor and Description |
|---|
AttributeDefinitionConstraintProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
initializes the constraints
|
boolean |
isSupported(Constrainable definition)
checks whether this provider supports the provided definition
|
getConstraints, getResolverMap, setResolverMappublic AttributeDefinitionConstraintProvider()
public void init()
BaseConstraintProviderBy doing initialization here, and not in a constructor, constraints are only placed in memory when they are utilized.
init in class BaseConstraintProvider<AttributeDefinition>public boolean isSupported(Constrainable definition)
ConstraintProviderdefinition - - a Data Dictionary definition e.g. AttributeDefinitionConstraintProvider.isSupported(org.kuali.rice.krad.datadictionary.validation.capability.Constrainable)Copyright © 2005–2015 The Kuali Foundation. All rights reserved.