Class DecimalAttributeContentValidator
java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.attributevalidators.AbstractAttributeContentValidator<BigDecimal>
de.hybris.platform.cmsfacades.cmsitems.attributevalidators.DecimalAttributeContentValidator
- All Implemented Interfaces:
AttributeContentValidator<BigDecimal>
BigDecimal validator adds validation errors when the value does not respects the attribute's constraints.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidate(BigDecimal 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
-
DecimalAttributeContentValidator
public DecimalAttributeContentValidator()
-
-
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
-