@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).
|
ExtEndian |
endianess
Byte order.
|
int |
length
Field length (for fixed length strings and BCD's).
|
boolean |
pad
Pad to length (for fixed length strings).
|
char |
padchar
Pad character (for fixed length strings with pad=true).
|
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
public abstract java.lang.String encoding
public abstract int prefixlength
public abstract ExtEndian endianess