|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={TYPE,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Constraint(validatedBy=DateRangeValidator.class) @Documented public @interface DateRange
Annotation for JSR-303 validator. It validates the range of dates are coherent: the end date is after or equals the start one.
Required Element Summary | |
---|---|
String |
endDate
The name of the field representing the date ending a range. |
String |
startDate
The name of the field representing the date starting a range. |
Optional Element Summary | |
---|---|
Class<?>[] |
groups
|
String |
message
|
Class<? extends javax.validation.Payload>[] |
payload
|
Element Detail |
---|
public abstract String startDate
public abstract String endDate
public abstract String message
public abstract Class<?>[] groups
public abstract Class<? extends javax.validation.Payload>[] payload
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |