| Package | Description |
|---|---|
| com.legstar.base.type.composite |
COBOL composite types classes.
|
| com.legstar.base.type.primitive |
COBOL primitive types classes.
|
| com.legstar.base.visitor |
COBOL to Java base converter visitor classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CobolArrayType
Array of other types.
|
class |
CobolChoiceType
A COBOL REDEFINES clause translates into a choice between alternatives (which
could be primitive or composite types).
|
class |
CobolComplexType
A COBOl Group item.
|
class |
CobolCompositeType
Composite types are built from other types.
|
| Modifier and Type | Method and Description |
|---|---|
CobolType |
CobolArrayType.getItemType() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,CobolType> |
CobolChoiceType.getAlternatives() |
Map<String,CobolType> |
CobolComplexType.getFields() |
| Modifier and Type | Method and Description |
|---|---|
int |
CobolChoiceType.getAlternativeIndex(CobolType alternative) |
String |
CobolChoiceType.getAlternativeName(CobolType alternative) |
CobolArrayType.Builder |
CobolArrayType.Builder.itemType(CobolType itemType) |
| Modifier and Type | Method and Description |
|---|---|
CobolChoiceType.Builder |
CobolChoiceType.Builder.alternatives(Map<String,CobolType> alternatives) |
CobolComplexType.Builder |
CobolComplexType.Builder.fields(Map<String,CobolType> fields) |
| Modifier and Type | Class and Description |
|---|---|
class |
CobolBinaryType<T extends Number>
Binary (COMP)
|
class |
CobolDecimalType<T extends Number>
A generic type for mainframe decimals.
|
class |
CobolDoubleType<T extends Number>
COBOL Double type.
|
class |
CobolFloatType<T extends Number>
COBOL Float type.
|
class |
CobolPackedDecimalType<T extends Number>
A Packed Decimal (COMP-3).
|
class |
CobolPrimitiveType<T>
A primitive COBOL type.
|
class |
CobolStringType<T>
A PIC X.
|
class |
CobolZonedDecimalType<T extends Number>
A Zoned Decimal (PIC S9(n)v9(m) DISPLAY).
|
| Modifier and Type | Method and Description |
|---|---|
CobolType |
DefaultFromCobolChoiceStrategy.choose(String choiceFieldName,
CobolChoiceType cobolChoiceType,
Map<String,Object> variables,
byte[] hostData,
int start,
int length) |
CobolType |
FromCobolChoiceStrategy.choose(String choiceFieldName,
CobolChoiceType choiceType,
Map<String,Object> variables,
byte[] hostData,
int start,
int length)
Select one alternative in choices.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
FromCobolVisitor.ArrayTypeItemHandler.postVisit(int itemIndex,
CobolType item)
Notify caller that an item was visited
|
boolean |
FromCobolVisitor.ComplexTypeChildHandler.postVisit(String fieldName,
int fieldIndex,
CobolType child)
Notify caller that a field was visited
|
void |
FromCobolVisitor.ChoiceTypeAlternativeHandler.postVisit(String alternativeName,
int alternativeIndex,
CobolType alternative)
Notify caller that an alternative was visited
|
boolean |
FromCobolVisitor.ArrayTypeItemHandler.preVisit(int itemIndex,
CobolType item)
Notify caller that an item is about to be visited
|
boolean |
FromCobolVisitor.ComplexTypeChildHandler.preVisit(String fieldName,
int fieldIndex,
CobolType child)
Notify caller that a field is about to be visited
|
void |
FromCobolVisitor.ChoiceTypeAlternativeHandler.preVisit(String alternativeName,
int alternativeIndex,
CobolType alternative)
Notify caller that an alternative is about to be visited
|
| Constructor and Description |
|---|
FromCobolException(String message,
String cobolFullName,
CobolType type) |
FromCobolException(String message,
String cobolFullName,
CobolType type,
Throwable exception) |
Copyright © 2021 LegSem. All rights reserved.