|
Version: 1.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.eab.record.cobol.CobolRecordAttributes | +--org.apache.tools.ant.taskdefs.optional.javarec.MVSRecordAttributes
The purpose of this class is to override the constructors of the superclass, CobolRecordAttributes. This is necessary for some records that are generated by build scripts. By default, their constructors set the record attributes to the wrong endian, floating point and codepage types. The constructors of this class ignore the (presumably wrong) input parameters passed to it and populate the record attributes to those matching an MVS mainframe environment.
Field Summary | |
static java.lang.String |
DEFAULT_CODEPAGE
The default code page - 037 for MVS. |
static int |
DEFAULT_COMPILER
The default compiler - CobolRecordAttributes.VACOBOL. |
static int |
DEFAULT_ENDIAN
The default integer endian for the target platform - IRecordAttributes.BIGENDIAN. |
static int |
DEFAULT_FLOATING_POINT
The default floating point format on the target platform - IRecordAttributes.IBMFLOATINGPOINTFORMAT. |
static int |
DEFAULT_MACHINE_TYPE
The default target machine type - CobolRecordAttributes.MVS. |
static int |
DEFAULT_REMOTE_ENDIAN
The default integer endian for DFHCNV macros on the target platform - IRecordAttributes.BIGENDIAN. |
Fields inherited from class com.ibm.ivj.eab.record.cobol.CobolRecordAttributes |
AIX, BIGENDIAN, COMP, COMP1, COMP2, COMP3, DISPLAY, DISPLAY_NONNUMERIC, DISPLAY_NUMERIC, IBMFLOATINGPOINTFORMAT, IEEEFLOATINGPOINTFORMAT, JAVA_BIGDECIMAL, JAVA_BOOLEAN, JAVA_BYTE, JAVA_CHAR, JAVA_DOUBLE, JAVA_FLOAT, JAVA_INT, JAVA_LONG, JAVA_SHORT, JAVA_STRING, LITTLEENDIAN, MFCOBOL, MVS, MVSCUSTOM, NT, OS2, picFieldLength, SIGN_LEADING, SIGN_LEADING_SEPARATE, SIGN_TRAILING, SIGN_TRAILING_SEPARATE, VACOBOL, VSCOBOL2 |
Constructor Summary | |
MVSRecordAttributes()
Invoke the super class constructor using the default constant values defined in this class. |
|
MVSRecordAttributes(java.lang.String codePage,
int remoteEndian)
Invokes MVSRecordAttributes() . |
|
MVSRecordAttributes(java.lang.String codepage,
int remoteEndian,
int endian,
int floatingPoint,
int machineType,
int compiler)
Invokes MVSRecordAttributes() . |
Methods inherited from class com.ibm.ivj.eab.record.cobol.CobolRecordAttributes |
clone, convertCobolToJava, convertFromByteArrayToString, convertFromByteToChar, convertFromByteToDouble, convertFromByteToFloat, convertFromByteToInt, convertFromByteToLong, convertFromByteToShort, convertFromByteToString, convertFromCobol, convertFromStringToByteArray, convertJavaToCobol, convertToByte, convertToByte, convertToByte, convertToByte, convertToByte, convertToByte, convertToByte, convertToCobol, equals, fillBytes, getCodePage, getCompiler, getEndian, getFloatingPointFormat, getMachine, getRemoteIntEndian, setCodePage, setCompiler, setEndian, setFloatingPointFormat, setMachine, setRemoteIntEndian, sizeOfCobol, updateCicsDataDescriptor |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_CODEPAGE
public static final int DEFAULT_ENDIAN
public static final int DEFAULT_REMOTE_ENDIAN
public static final int DEFAULT_FLOATING_POINT
public static final int DEFAULT_MACHINE_TYPE
public static final int DEFAULT_COMPILER
Constructor Detail |
public MVSRecordAttributes()
public MVSRecordAttributes(java.lang.String codePage, int remoteEndian)
MVSRecordAttributes()
. Input parameters are
ignored.public MVSRecordAttributes(java.lang.String codepage, int remoteEndian, int endian, int floatingPoint, int machineType, int compiler)
MVSRecordAttributes()
. Input parameters are
ignored.
|
Version: 1.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |