public interface FromCobolChoiceStrategy
| Modifier and Type | Method and Description |
|---|---|
CobolType |
choose(String choiceFieldName,
CobolChoiceType choiceType,
Map<String,Object> variables,
byte[] hostData,
int start,
int length)
Select one alternative in choices.
|
Set<String> |
getVariableNames()
Provides a list of variable names whose values are to be collected before
the choice is reached.
|
CobolType choose(String choiceFieldName, CobolChoiceType choiceType, Map<String,Object> variables, byte[] hostData, int start, int length)
choiceFieldName - the choice field name in the parent structure.choiceType - the choice field typevariables - contains all custom variables values collected before
reaching the choicehostData - the host datastart - the start position within the host data for the entire
parent structurelength - how many bytes of hostData contains actual data to processCopyright © 2021 LegSem. All rights reserved.