@Retention(value=RUNTIME)
public @interface StructField
| Modifier and Type | Required Element and Description |
|---|---|
int |
n
Field number.
|
FieldType |
type
Field type.
|
| Modifier and Type | Optional Element and Description |
|---|---|
int |
decimals
Field decimals (for BCD's).
|
java.lang.String |
encoding
Field encoding (for strings).
|
int |
length
Field length (for fixed length strings and BCD's).
|
int |
prefixlength
Prefix length (for variable length strings).
|
byte |
zone
Field zone value (for zoned BCD's).
|
public abstract FieldType type
public abstract int length