MaxDataSize for correct SI and IEC prefixes.@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(value=RUNTIME) @Deprecated @Documented @Constraint(validatedBy=MaxSizeValidator.class) public @interface MaxSize
Size
whose value must be less than or equal to the specified maximum.
null elements are considered valid| Modifier and Type | Required Element and Description |
|---|---|
long |
value
Deprecated.
The annotation's value.
|
| Modifier and Type | Optional Element and Description |
|---|---|
Class<?>[] |
groups
Deprecated.
The groups the constraint belongs to.
|
String |
message
Deprecated.
The validation message for this constraint.
|
Class<? extends javax.validation.Payload>[] |
payload
Deprecated.
The payloads of this constraint.
|
SizeUnit |
unit
Deprecated.
The unit of the annotation.
|
public abstract long value
public abstract String message
public abstract Class<?>[] groups
public abstract Class<? extends javax.validation.Payload>[] payload
public abstract SizeUnit unit
Copyright © 2011. All rights reserved.