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 Range

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

The annotated elemnt has to be in the appropriate range. Apply on numeric values or string representation of the numeric value.

Author:
  Gavin King

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

### max

    public abstract long max

  Default:
    9223372036854775807L

### min

    public abstract long min

  Default:
    -9223372036854775808L

### message

    public abstract String message

  Default:
    "{validator.range}"

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