Annotation Interface ClassificationNotBlank


@Target(FIELD) @Retention(RUNTIME) @Constraint(validatedBy=ClassificationNotBlankValidator.class) @Documented public @interface ClassificationNotBlank
The annotated element (a product's classification attribute that is assigned to the product's category) must not be empty or null. Supported type is ProductModel and its sub types.
  • Element Details

    • category

      String category
    • classification

      String classification
    • message

      String message
      Default:
      "{de.hybris.platform.b2ctelcoservices.constraints.ClassificationNotBlank.message}"
    • groups

      Class<?>[] groups
      Default:
      {}
    • payload

      Class<? extends javax.validation.Payload>[] payload
      Default:
      {}