Interface AttributeContentValidator<T>

Type Parameters:
T - type of the object being validated
All Known Implementing Classes:
AbstractAttributeContentValidator, BaseMediaAttributeContentValidator, CompositeAttributeContentValidator, DateFormatAttributeContentValidator, DecimalAttributeContentValidator, DefaultAttributeContentValidator, DoubleAttributeContentValidator, FloatAttributeContentValidator, IntegerAttributeContentValidator, LanguageCheckAttributeContentValidator, LongAttributeContentValidator, MediaAttributeContentValidator, MediaContainerAttributeContentValidator, NullCheckAttributeContentValidator, NumberAttributeContentValidator, UniqueIdentifierAttributeContentValidator

public interface AttributeContentValidator<T>
Interface to validate the value of the attributes.
  • Method Details

    • validate

      List<ValidationError> validate(T value, AttributeDescriptorModel attributeDescriptor)
      Performs validation on the given arguments.
      Parameters:
      value - the value object
      attributeDescriptor - the attribute descriptor of the given value.