com.ca.jcs.validator.eval
Class PropertyValidators

java.lang.Object
  extended by com.ca.jcs.validator.eval.PropertyValidators

public class PropertyValidators
extends Object

Each attribute requiring validation has only of these objects stored for it, recording all validators that need to be applied to it.


Constructor Summary
PropertyValidators()
           
 
Method Summary
 List<MetaPluginConfig> getClassValidatorConfigs()
          Configurations for all class validators requiring access to all attributes for an object (rather then just one), if any.
 List<? extends ContextAwarePropertyValidator> getContextAwarePropertyValidators()
          All property validators (triggered by metadata settings) to be applied requiring access to the attributes current value for modifications, if any.
 List<? extends PropertyValidator> getPropertyValidators()
          All property validators (triggered by metadata settings) to be applied, if any.
 AttributeValidator getValueValidator()
          Validator for attribute's base DataModel value (bool, int, enum etc), if required.
 void setClassValidatorConfigs(List<MetaPluginConfig> classValidCfgs)
           
 void setContextAwarePropertyValidators(List<? extends ContextAwarePropertyValidator> psvs)
           
 void setPropertyValidators(List<? extends PropertyValidator> pvs)
           
 void setValueValidator(AttributeValidator valueValidator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyValidators

public PropertyValidators()
Method Detail

getValueValidator

public AttributeValidator getValueValidator()
Validator for attribute's base DataModel value (bool, int, enum etc), if required.


setValueValidator

public void setValueValidator(AttributeValidator valueValidator)

getPropertyValidators

public List<? extends PropertyValidator> getPropertyValidators()
All property validators (triggered by metadata settings) to be applied, if any.


setPropertyValidators

public void setPropertyValidators(List<? extends PropertyValidator> pvs)

getContextAwarePropertyValidators

public List<? extends ContextAwarePropertyValidator> getContextAwarePropertyValidators()
All property validators (triggered by metadata settings) to be applied requiring access to the attributes current value for modifications, if any.


setContextAwarePropertyValidators

public void setContextAwarePropertyValidators(List<? extends ContextAwarePropertyValidator> psvs)

getClassValidatorConfigs

public List<MetaPluginConfig> getClassValidatorConfigs()
Configurations for all class validators requiring access to all attributes for an object (rather then just one), if any.


setClassValidatorConfigs

public void setClassValidatorConfigs(List<MetaPluginConfig> classValidCfgs)


Created 2011-07-14 13:27 EST