public interface CDActionByForm extends RichTextRecord<WSIG>
Modifier and Type | Method and Description |
---|---|
default ByteBuffer |
getActionData()
Retrieves the action data as a
ByteBuffer view of the underlying structure data. |
default List<AssistFieldStruct> |
getAssistFields()
Retrieves the action data as a list of
AssistFieldStruct objects. |
int |
getFieldCount() |
default String |
getFormName() |
default byte[] |
getFormNameData() |
int |
getFormNameLength() |
WSIG |
getHeader() |
default CDActionByForm |
setActionData(byte[] actionData)
Sets the action data for this record.
|
default CDActionByForm |
setAssistFields(Collection<AssistFieldStruct> assistFieldStructs)
Sets the action data for this record.
|
CDActionByForm |
setFieldCount(int fieldCount) |
default CDActionByForm |
setFormName(String formName) |
CDActionByForm |
setFormNameLength(int formNameLength) |
getCDRecordLength, getData, getDataWithoutHeader, getPayloadLength, getRecordHeaderLength, getType, getTypeValue
getVariableData, resize, resizeVariableData
WSIG getHeader()
getHeader
in interface RichTextRecord<WSIG>
int getFieldCount()
CDActionByForm setFieldCount(int fieldCount)
int getFormNameLength()
CDActionByForm setFormNameLength(int formNameLength)
default String getFormName()
default byte[] getFormNameData()
default CDActionByForm setFormName(String formName)
default ByteBuffer getActionData()
ByteBuffer
view of the underlying structure data. This data
consists of a series of AssistFieldStruct
structures.ByteBuffer
constrained to the action datadefault List<AssistFieldStruct> getAssistFields()
AssistFieldStruct
objects. These objects are views
onto the underlying data, though the association will be broken if they are resized.List
of AssistFieldStruct
objectsdefault CDActionByForm setActionData(byte[] actionData)
Note: when modifying this data manually, it is important to also call setFieldCount(int)
to reflect the number of AssistFieldStruct
structures present.
actionData
- the new action data to setdefault CDActionByForm setAssistFields(Collection<AssistFieldStruct> assistFieldStructs)
assistFieldStructs
- a Collection
of AssistFieldStruct
s to setCopyright © 2019–2021 HCL. All rights reserved.