Class NumberAttributeContentValidator
java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.attributevalidators.AbstractAttributeContentValidator<Object>
de.hybris.platform.cmsfacades.cmsitems.attributevalidators.NumberAttributeContentValidator
- All Implemented Interfaces:
AttributeContentValidator<Object>
- Direct Known Subclasses:
DoubleAttributeContentValidator,FloatAttributeContentValidator,IntegerAttributeContentValidator,LongAttributeContentValidator
Integer validator adds validation errors when the value does not respects the attribute's constraints.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidate(Object value, AttributeDescriptorModel attribute) Performs validation on the given arguments.Methods inherited from class de.hybris.platform.cmsfacades.cmsitems.attributevalidators.AbstractAttributeContentValidator
addValidationError, getConstraintMap, getValidationErrorsProvider, setValidationErrorsProvider
-
Constructor Details
-
NumberAttributeContentValidator
public NumberAttributeContentValidator()
-
-
Method Details
-
validate
Description copied from interface:AttributeContentValidatorPerforms validation on the given arguments.- Parameters:
value- the value objectattribute- the attribute descriptor of the givenvalue.
-
getConstraints
-