Class IntegerAttributeContentValidator
java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.attributevalidators.AbstractAttributeContentValidator<Object>
de.hybris.platform.cmsfacades.cmsitems.attributevalidators.NumberAttributeContentValidator
de.hybris.platform.cmsfacades.cmsitems.attributevalidators.IntegerAttributeContentValidator
- All Implemented Interfaces:
AttributeContentValidator<Object>
Integer validator adds validation errors when the value is not parsable into an Integer
-
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.NumberAttributeContentValidator
getConstraintsMethods inherited from class de.hybris.platform.cmsfacades.cmsitems.attributevalidators.AbstractAttributeContentValidator
addValidationError, getConstraintMap, getValidationErrorsProvider, setValidationErrorsProvider
-
Constructor Details
-
IntegerAttributeContentValidator
public IntegerAttributeContentValidator()
-
-
Method Details
-
validate
Description copied from interface:AttributeContentValidatorPerforms validation on the given arguments.- Specified by:
validatein interfaceAttributeContentValidator<Object>- Overrides:
validatein classNumberAttributeContentValidator- Parameters:
value- the value objectattribute- the attribute descriptor of the givenvalue.
-