Annotation Interface DecimalRange


@Documented @Constraint(validatedBy={}) @Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(RUNTIME) @DecimalMin("-4.9e-324") @DecimalMax("1.7976931348623157e+308") @ReportAsSingleViolation public @interface DecimalRange
  • Element Details

    • min

      @OverridesAttribute(constraint=jakarta.validation.constraints.DecimalMin.class, name="value") String min
      Default:
      "-4.9e-324"
    • max

      @OverridesAttribute(constraint=jakarta.validation.constraints.DecimalMax.class, name="value") String max
      Default:
      "1.7976931348623157e+308"
    • message

      String message
      Default:
      "must be between {min} and {max}"
    • groups

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

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