javax.validation.constraints
Annotation Type Size
@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER})
@Retention(value=RUNTIME)
@Documented
@Constraint(validatedBy={})
public @interface Size
- Version:
- $Rev$ $Date$
message
public abstract String message
- Default:
- "{javax.validation.constraints.Size.message}"
groups
public abstract Class<?>[] groups
- Default:
- {}
payload
public abstract Class<? extends Payload>[] payload
- Default:
- {}
min
public abstract int min
- Default:
- 0
max
public abstract int max
- Default:
- 2147483647
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.