Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.hibernate.validator
Annotation Type Size

    @Documented
    @ValidatorClass(value=SizeValidator.class)
    @Target(value={METHOD,FIELD})
    @Retention(value=RUNTIME)
    public @interface Size

Size range for Arrays, Collections or Maps

Author:
  Gavin King

Optional Element Summary
`int` | `max`
`String` | `message`
`int` | `min`

### max

    public abstract int max

  Default:
    2147483647

### min

    public abstract int min

  Default:
    0

### message

    public abstract String message

  Default:
    "{validator.size}"

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT