com.ca.jcs.validator.meta
Class LengthPropertyValueValidator
java.lang.Object
com.ca.jcs.cfg.Vetoable
com.ca.jcs.validator.meta.PropertyValidator
com.ca.jcs.validator.meta.PropertyValueValidator
com.ca.jcs.validator.meta.LengthPropertyValueValidator
- All Implemented Interfaces:
- AttributeValidator, PropertyValidatorBase
public class LengthPropertyValueValidator
- extends PropertyValueValidator
Validate that all of an attribute's values fall within a defined length
restriction:
MetaDataDefs.MD_MIN_LENGTH <= length <= MetaDataUtil#MD_MAX_LENGTH
where if the min is not specified it defaults to 0 and if the max is not
specified the length is simply not checked against an upper bound.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LengthPropertyValueValidator
public LengthPropertyValueValidator(DataModelProperty prop)
Created 2011-07-14 13:27 EST