Modifier and Type | Field and Description |
---|---|
protected String |
data |
protected StructTypeInfo |
typeInfo |
protected List<Object> |
values |
Modifier and Type | Method and Description |
---|---|
int |
getFieldCount()
Get the field number of this struct.
|
String |
getFieldName(int index)
Get the field name by the index of the struct
|
DataTypeInfo |
getFieldTypeInfo(int index)
Get the field type info by the index of the struct
|
DataTypeInfo |
getFieldTypeInfo(String fieldName)
Get the field type info the field name of the struct
|
Object |
getFieldValue(int index)
Get the field value by the index of the struct
|
Object |
getFieldValue(String fieldName)
Get the field value by the field name of the struct
|
List<Object> |
getFieldValues()
Get the List of field values of the struct
|
String |
toString() |
protected StructTypeInfo typeInfo
protected String data
public int getFieldCount() throws DLIException
DliStruct
getFieldCount
in interface DliStruct
DLIException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic String getFieldName(int index)
DliStruct
getFieldName
in interface DliStruct
index
- struct indexpublic DataTypeInfo getFieldTypeInfo(int index)
DliStruct
getFieldTypeInfo
in interface DliStruct
index
- struct indexpublic Object getFieldValue(int index) throws DLIException
DliStruct
getFieldValue
in interface DliStruct
index
- struct indexDLIException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic DataTypeInfo getFieldTypeInfo(String fieldName)
DliStruct
getFieldTypeInfo
in interface DliStruct
fieldName
- the field name of the structpublic Object getFieldValue(String fieldName) throws DLIException
DliStruct
getFieldValue
in interface DliStruct
fieldName
- the field name of the structDLIException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic List<Object> getFieldValues() throws DLIException
DliStruct
getFieldValues
in interface DliStruct
DLIException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyCopyright © 2023. All rights reserved.