| Package | Description |
|---|---|
| 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 |
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 |
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 |
|---|---|
boolean |
FromCobolVisitor.isCustomVariable(CobolPrimitiveType<?> type,
String name)
A primitive type is a custom variable if it has been marked as so via one
of the available mechanisms or is needed to make choice decisions.
|
void |
FromCobolVisitor.PrimitiveTypeHandler.postVisit(CobolPrimitiveType<?> type,
Object value)
Notify caller that a primitive type was visited
|
void |
FromCobolVisitor.PrimitiveTypeHandler.preVisit(CobolPrimitiveType<?> type)
Notify caller that a primitive type is about to be visited
|
void |
Cob2ObjectValidator.visit(CobolPrimitiveType<?> type)
The logic is similar to
FromCobolVisitor.visitCobolPrimitiveType(CobolPrimitiveType, PrimitiveTypeHandler)
but we try to avoid converting data unless this is needed for range
comparison or because the field is a custom variable or an ODOObject. |
void |
Cob2ObjectVisitor.visit(CobolPrimitiveType<?> type) |
void |
CobolVisitor.visit(CobolPrimitiveType<?> type) |
void |
MaxBytesLenCobolVisitor.visit(CobolPrimitiveType<?> type) |
void |
MinBytesLenCobolVisitor.visit(CobolPrimitiveType<?> type) |
void |
FromCobolVisitor.visitCobolPrimitiveType(CobolPrimitiveType<?> type,
FromCobolVisitor.PrimitiveTypeHandler callback)
Visit a primitive type performing the actual conversion to a java object.
|
Copyright © 2021 LegSem. All rights reserved.