| Modifier and Type | Required Element and Description |
|---|---|
int |
pos
The position of the field with the following semantic:
|
| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
constraints
The constraints to validate.
|
Class<? extends SimpleTypeConverter> |
converterType
Specifies the converter type to be used.
|
String |
dataTypeName
The name of the data type of the CSV field this annotation describes.
|
String[] |
format
The format to be used to construct a
SimpleTypeConverter for this field. |
SimpleListItem |
listItem
In case of a simple type list this annotation parameter provides details about the list items.
|
String |
noValue
The string to use for describing that no value is given for the CSV field this annotation describes.
|
QuoteMode |
quoteMode
The quote mode to use for the CSV field this annotation describes.
|
boolean |
required
True, if a value is required; false otherwise.
|
Class<? extends Validator> |
validatorType
Specifies the validator type to be used.
|
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.
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 QuoteMode quoteMode
public abstract String noValue
public abstract String[] format
SimpleTypeConverter for this field. The
SimpleTypeConverter class will be determined using the type of the annotated java field.public abstract Class<? extends SimpleTypeConverter> converterType
public abstract SimpleListItem listItem
public abstract boolean required
public abstract Class<? extends Validator> validatorType
public abstract String[] constraints
Copyright © 2014. All rights reserved.