com.ca.jcs.validator.attr
Interface AttributeValidator

All Known Implementing Classes:
AttributeValueValidator, BoolAttributeValidator, DateAttributeValidator, DateTimeAttributeValidator, DblAttributeValidator, DNAttributeValidator, DurationAttributeValidator, EmailAttributeValidator, EnumPropertyValidator, EnumValueValidator, FloatAttributeValidator, IntAttributeValidator, LengthAttributeValidator, LengthPropertyValueValidator, LongAttributeValidator, MapAttributeValidator, NoCommaAttributeValidator, PropertyStateValidator, PropertyValidator, PropertyValueValidator, RangeAttributeValidator, RangePropertyValueValidator, ReadOnlyPropertyValidator, RegexAttributeValidator, RegexPropertyValueValidator, TimeAttributeValidator, UrlAttributeValidator

public interface AttributeValidator

Validate all values for an attribute.


Method Summary
 ErrorMessages validate(Attribute attr)
          Validate the provided value.
 

Method Detail

validate

ErrorMessages validate(Attribute attr)
Validate the provided value.

Parameters:
attr - Attribute whose values are to be validated.
Returns:
Null if all value have desired format, and otherwise one or more error messages where only their msgFormatId field needs to be set.


Created 2011-07-14 13:27 EST