public class CobolChoiceType extends CobolCompositeType
| Modifier and Type | Class and Description |
|---|---|
static class |
CobolChoiceType.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(CobolVisitor visitor)
Propagate a visitor.
|
int |
getAlternativeIndex(CobolType alternative) |
int |
getAlternativeIndex(String alternativeName) |
String |
getAlternativeName(CobolType alternative) |
Map<String,CobolType> |
getAlternatives() |
String |
getCobolName()
Get the original COBOL name of this type.
|
long |
getMaxBytesLen()
Determine the maximum length in bytes of the mainframe representation of
this type.
|
long |
getMinBytesLen()
Determine the minimum length in bytes of the mainframe representation of
this type.
|
String |
getName() |
public void accept(CobolVisitor visitor)
CobolTypevisitor - the visitorpublic String getName()
public int getAlternativeIndex(CobolType alternative)
public int getAlternativeIndex(String alternativeName)
public long getMinBytesLen()
public long getMaxBytesLen()
public String getCobolName()
Choices are wrappers without a name in COBOL.
Copyright © 2021 LegSem. All rights reserved.