Annotation Type 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.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String category  
      java.lang.String classification  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class<?>[] groups  
      java.lang.String message  
      java.lang.Class<? extends javax.validation.Payload>[] payload  
    • Element Detail

      • category

        java.lang.String category
      • classification

        java.lang.String classification
      • message

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

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

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