public class CobolArrayType extends CobolCompositeType
If there is no dependingOn then this is a fixed size array otherwise, it is a variable size array which size is determined at runtime by the value of the dependingOn variable.
| Modifier and Type | Class and Description |
|---|---|
static class |
CobolArrayType.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(CobolVisitor visitor)
Propagate a visitor.
|
String |
getCobolName()
Get the original COBOL name of this type.
|
String |
getDependingOn() |
CobolType |
getItemType() |
long |
getMaxBytesLen()
Determine the maximum length in bytes of the mainframe representation of
this type.
|
int |
getMaxOccurs() |
long |
getMinBytesLen()
Determine the minimum length in bytes of the mainframe representation of
this type.
|
int |
getMinOccurs() |
boolean |
isVariableSize() |
public void accept(CobolVisitor visitor)
visitor - the visitorpublic CobolType getItemType()
public int getMinOccurs()
public int getMaxOccurs()
public String getDependingOn()
public boolean isVariableSize()
public long getMinBytesLen()
public long getMaxBytesLen()
public String getCobolName()
Arrays are wrappers without a name in COBOL.
Copyright © 2021 LegSem. All rights reserved.