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, setResolverMap
public AttributeDefinitionConstraintProvider()
public void init()
BaseConstraintProvider
By 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)
ConstraintProvider
definition
- - a Data Dictionary definition e.g. AttributeDefinition
ConstraintProvider.isSupported(org.kuali.rice.krad.datadictionary.validation.capability.Constrainable)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.