Annotation Interface Size
@Documented
@Retention(CLASS)
@Target({METHOD,FIELD,PARAMETER})
@ValidatedBy(SizeValidatorFactory.class)
public @interface Size
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescription@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescription@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int
-
Element Details
-
max
@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int max- Returns:
- maximum value should have (inclusive)
-
-
-
min
@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int min- Returns:
- minimum value should have (inclusive)
- Default:
- 0
-