org.hibernate.validator
Annotation Type Max


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

max restriction on a numeric annotated element

Author:
Gavin King

Required Element Summary
 int value
           
 
Optional Element Summary
 String message
           
 

Element Detail

value

public abstract int value

message

public abstract String message
Default:
"{validator.max}"