public class FieldInfo
extends java.lang.Object
Constructor and Description |
---|
FieldInfo(FieldType structType,
int length,
int decimals,
java.lang.String encoding,
byte zone,
int prefixlength,
java.lang.Class<?> classType,
java.lang.reflect.Field field,
java.util.Map<java.lang.Integer,SubClassAndPad> selects,
boolean selectPad,
int elements,
int countprefix)
Create instance of FieldInfo with all necessary properties.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getClassType()
Get Java class type.
|
int |
getCountprefix()
Get length in bytes of count prefix.
|
int |
getDecimals()
Get decimals of BCD.
|
int |
getElements()
Get number of elements.
|
java.lang.String |
getEncoding()
Get encoding of string.
|
java.lang.reflect.Field |
getField()
Get corresponding reflection object.
|
int |
getLength()
Get length of fixed length string.
|
int |
getPrefixlength()
Get prefix length.
|
boolean |
getSelectPad()
Get sub class padding to fixed length.
|
java.util.Map<java.lang.Integer,SubClassAndPad> |
getSelects()
Get sub class selections.
|
FieldType |
getStructType()
Get native struct type.
|
byte |
getZone()
Get zone of zoned BCD.
|
public FieldInfo(FieldType structType, int length, int decimals, java.lang.String encoding, byte zone, int prefixlength, java.lang.Class<?> classType, java.lang.reflect.Field field, java.util.Map<java.lang.Integer,SubClassAndPad> selects, boolean selectPad, int elements, int countprefix)
structType
- native struct typelength
- length of fixed length stringdecimals
- number of decimalsencoding
- encoding of stringzone
- zone of zoned BCDprefixlength
- prefix length of variable length stringclassType
- Java class typefield
- corresponding reflection objectselects
- sub class selectionsselectPad
- pad sub classes to fixed lengthelements
- number of elementscountprefix
- length in bytes of count prefixpublic FieldType getStructType()
public int getLength()
public int getDecimals()
public java.lang.String getEncoding()
public byte getZone()
public int getPrefixlength()
public java.lang.Class<?> getClassType()
public java.lang.reflect.Field getField()
public java.util.Map<java.lang.Integer,SubClassAndPad> getSelects()
public boolean getSelectPad()
public int getElements()
public int getCountprefix()