Annotation Interface Max


@Target(FIELD) @Retention(RUNTIME) public @interface Max
Sets maximum value to property field.

Value checks on validation step.

Can be applied to property value with Number class

Author:
Abdulin Ildar
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    long
     
  • Element Details

    • value

      long value