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
|
java.lang.String |
message
|
int |
min
|
max
public abstract int max
- Default:
- 2147483647
min
public abstract int min
- Default:
- 0
message
public abstract java.lang.String message
- Default:
- "{validator.size}"
Copyright © 2007-2009. All Rights Reserved.