Annotation Interface HybrisDecimalMax


The annotated element must be a number whose value must be lower or equal to the specified maximum.

Supported types are:

  • BigDecimal
  • Double
  • Float
  • BigInteger
  • String
  • byte, short, int, long, and their respective wrappers
null elements are considered valid.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    Defines several @HybrisDecimalMax annotations on the same element
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The String representation of the max value according to the BigDecimal string representation
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
     
     
    Class<? extends javax.validation.Payload>[]
     
  • Element Details

    • value

      String value
      The String representation of the max value according to the BigDecimal string representation
      Returns:
      value the element must be lower or equal to
    • message

      String message
      Default:
      "{de.hybris.platform.validation.annotations.HybrisDecimalMax.message}"
    • groups

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

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