org.hibernate.validator.constraints
Annotation Type Range


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

Author:
Hardy Ferentschik

Optional Element Summary
 Class<?>[] groups
           
 long max
           
 String message
           
 long min
           
 Class<? extends Payload>[] payload
           
 

min

public abstract long min
Default:
0L

max

public abstract long max
Default:
9223372036854775807L

message

public abstract String message
Default:
"{org.hibernate.validator.constraints.Range.message}"

groups

public abstract Class<?>[] groups
Default:
{}

payload

public abstract Class<? extends Payload>[] payload
Default:
{}


Copyright © 2007-2013 Red Hat Middleware, LLC. All Rights Reserved