|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=FIELD) public @interface CsvSubRecordList
An annotation declaring a list of CSV sub records.
Required Element Summary | |
---|---|
int |
pos
The position of the field with the following semantic: If the position of a field A is less than the position of a field B, than field A comes (not necessarily directly) before field B. |
Record[] |
records
The array of Record annotations describing the list items. |
Optional Element Summary | |
---|---|
String[] |
constraints
The constraints to validate. |
boolean |
required
True, if a value is required; false otherwise. |
Class<? extends Validator> |
validatorType
Specifies the validator type to be used. |
Element Detail |
---|
public abstract int pos
If the position of a field A is less than the position of a field B, than field A comes (not necessarily
directly) before field B.
The positions of all fields must specify a total order of the fields.
public abstract Record[] records
Record
annotations describing the list items.
public abstract boolean required
public abstract Class<? extends Validator> validatorType
public abstract String[] constraints
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |