org.kuali.rice.krad.datadictionary.validation.constraint.provider
Class AttributeDefinitionConstraintProvider

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.validation.constraint.provider.BaseConstraintProvider<AttributeDefinition>
      extended by org.kuali.rice.krad.datadictionary.validation.constraint.provider.AttributeDefinitionConstraintProvider
All Implemented Interfaces:
ConstraintProvider<AttributeDefinition>

public class AttributeDefinitionConstraintProvider
extends BaseConstraintProvider<AttributeDefinition>

An object that looks up constraints for attribute definitions by constraint type. 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.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
 
Fields inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.provider.BaseConstraintProvider
resolverMap
 
Constructor Summary
AttributeDefinitionConstraintProvider()
           
 
Method Summary
 void init()
           
 boolean isSupported(Constrainable definition)
           
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.provider.BaseConstraintProvider
getConstraints, getResolverMap, setResolverMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeDefinitionConstraintProvider

public AttributeDefinitionConstraintProvider()
Method Detail

init

public void init()
Overrides:
init in class BaseConstraintProvider<AttributeDefinition>

isSupported

public boolean isSupported(Constrainable definition)
See Also:
ConstraintProvider.isSupported(org.kuali.rice.krad.datadictionary.validation.capability.Constrainable)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.