@Documented @Retention(value=RUNTIME) public @interface DataField
Modifier and Type | Required Element and Description |
---|---|
int |
pos
Position of the data in the record, must start from 1 (mandatory).
|
Modifier and Type | Optional Element and Description |
---|---|
String |
align
Align the text to the right or left.
|
boolean |
clip
Indicates to clip data in the field if it exceeds the allowed length when using fixed length.
|
String |
columnName
Name of the header column (optional)
|
String |
defaultValue
Field's default value in case no value is set
|
String |
delimiter
Optional delimiter to be used if the field has a variable length
|
boolean |
impliedDecimalSeparator
Indicates if there is a decimal point implied at a specified location
|
int |
length
Length of the data block if the record is set to a fixed length
|
int |
lengthPos
Identifies a data field in the record that defines the expected fixed length for this field
|
String |
name
Name of the field (optional)
|
char |
paddingChar
The char to pad with if the record is set to a fixed length
|
String |
pattern
Pattern that the formatter will use to transform the data (optional)
|
int |
position
Position of the field in the message generated (should start from 1)
|
int |
precision
precision of the
BigDecimal number to be created |
boolean |
required
Indicates if the field is mandatory
|
String |
timezone |
boolean |
trim
Indicates if the value should be trimmed
|
public abstract int pos
public abstract String name
public abstract String columnName
public abstract String pattern
public abstract String timezone
public abstract int length
public abstract int lengthPos
public abstract String align
public abstract char paddingChar
public abstract int precision
BigDecimal
number to be createdpublic abstract int position
public abstract boolean required
public abstract boolean trim
public abstract boolean clip
public abstract String delimiter
public abstract String defaultValue
public abstract boolean impliedDecimalSeparator
Apache Camel