Class CompositeAttributeContentValidator<T>
- java.lang.Object
-
- de.hybris.platform.cmsfacades.cmsitems.impl.CompositeAttributeContentValidator<T>
-
- Type Parameters:
T- the Object type being validated.
- All Implemented Interfaces:
AttributeContentValidator<T>
public class CompositeAttributeContentValidator<T> extends java.lang.Object implements AttributeContentValidator<T>
Composite Validator to perform validation with multipleAttributeContentValidator
-
-
Constructor Summary
Constructors Constructor Description CompositeAttributeContentValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<AttributeContentValidator>getValidators()voidsetValidators(java.util.List<AttributeContentValidator> validators)java.util.List<ValidationError>validate(T value, AttributeDescriptorModel attributeDescriptor)Performs validation on the given arguments.
-
-
-
Method Detail
-
validate
public java.util.List<ValidationError> validate(T value, AttributeDescriptorModel attributeDescriptor)
Description copied from interface:AttributeContentValidatorPerforms validation on the given arguments.- Specified by:
validatein interfaceAttributeContentValidator<T>- Parameters:
value- the value objectattributeDescriptor- the attribute descriptor of the givenvalue.
-
getValidators
protected java.util.List<AttributeContentValidator> getValidators()
-
setValidators
public void setValidators(java.util.List<AttributeContentValidator> validators)
-
-