|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MutableBeanValidationConfiguration
A default implementation of BeanValidationConfiguration
.
Method Summary | |
---|---|
void |
addCascadeValidation(CascadeValidation cascadeValidation)
Adds the given cascade validation to this configuration. |
void |
addCascadeValidations(CascadeValidation[] cascadeValidations)
Adds the given cascade validations to this configuration. |
void |
addCustomValidator(Validator validator)
Adds the given validator to the custom validator of this configuration. |
void |
addCustomValidators(Validator[] validators)
Adds the given validators to the custom validator of this configuration. |
void |
addGlobalRule(ValidationRule globalRule)
Adds the given rule as global rules for this configuration. |
void |
addGlobalRules(ValidationRule[] globalRules)
Adds the given rules as global rules for this configuration. |
void |
addPropertyRule(String propertyName,
ValidationRule rule)
Adds the given validation rule to the given property. |
void |
addPropertyRules(String propertyName,
ValidationRule[] extraRules)
Adds the given validation rules to the given property. |
void |
setCascadeValidations(CascadeValidation[] cascadeValidations)
Sets the cascade validations of this configuration. |
void |
setCustomValidator(Validator validator)
Sets the custom validator for this configuration. |
void |
setCustomValidators(Validator[] validators)
Sets the custom validator for this configuration. |
void |
setGlobalRules(ValidationRule[] globalRules)
Sets the global rules for this configuration. |
void |
setPropertyRules(String propertyName,
ValidationRule[] rules)
Sets the property validation rules for the given property. |
Methods inherited from interface org.springmodules.validation.bean.conf.BeanValidationConfiguration |
---|
getCascadeValidations, getCustomValidator, getGlobalRules, getPropertyRules, getValidatedProperties |
Method Detail |
---|
void setGlobalRules(ValidationRule[] globalRules)
globalRules
- The global rules for this configurationvoid addGlobalRule(ValidationRule globalRule)
globalRule
- The rule to be added as global rules for this configuration.void addGlobalRules(ValidationRule[] globalRules)
globalRules
- The rules to be added as global rules for this configuration.void setPropertyRules(String propertyName, ValidationRule[] rules)
propertyName
- The name of the property.rules
- The validation rules for the given property.void addPropertyRule(String propertyName, ValidationRule rule)
propertyName
- The name of the property.rule
- The validation rule to be added to the given property.void addPropertyRules(String propertyName, ValidationRule[] extraRules)
propertyName
- The name of the property.extraRules
- The extra validation rules that will be added to the given property.void setCustomValidator(Validator validator)
validator
- The custom validator for this configuration.void setCustomValidators(Validator[] validators)
validators
- The validators that will make the custom validator of this configuration.void addCustomValidator(Validator validator)
validator
- The validator to be added to the custom validator of this configuration.void addCustomValidators(Validator[] validators)
validators
- The validators to be added to the custom validator of this configuration.void setCascadeValidations(CascadeValidation[] cascadeValidations)
void addCascadeValidation(CascadeValidation cascadeValidation)
cascadeValidation
- The cascase validation to be added to this configuration.void addCascadeValidations(CascadeValidation[] cascadeValidations)
cascadeValidations
- The cascade validation to be added to this configuration.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |