com.ca.jcs.validator.meta
Class RangePropertyValueValidator
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.RangePropertyValueValidator
- All Implemented Interfaces:
- AttributeValidator, PropertyValidatorBase
public class RangePropertyValueValidator
- extends PropertyValueValidator
Validate that all of an attribute's values fall within a defined range
restriction (vetoed for boolValue / enumValue properties as adds no value):
MetaDataDefs.MD_MIN_VALUE <= value <= MetaDataDefs.MD_MAX_VALUE
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 |
RangePropertyValueValidator
public RangePropertyValueValidator(DataModelProperty prop)
Created 2011-07-14 13:27 EST