|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=FIELD) public @interface FlrSubRecord
An annotation declaring a FLR sub record.
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. |
String |
prefix
The prefix of the sub record. |
Optional Element Summary | |
---|---|
String[] |
constraints
The constraints to validate. |
String |
dataTypeName
The name of the data type of the FLR sub record this annotation describes. |
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 String prefix
public abstract String dataTypeName
It should be explicitly set if the type mapping should not be created from the annotations given in the class of the annotated field. This is useful when mixing explicit type mapping creation with annotation based type mapping creation.
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 |