Class CobolRedefinedFieldValue
java.lang.Object
org.eclipse.persistence.internal.eis.cobol.CobolRedefinedFieldValue
Purpose: to allow on demand conversions of fields which are redefined. This is
necessary because different data formats may be used by different fields that redefine the
same area of a byte array.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetter for field meta databyte[]
getter for record datagetValue()
calculates and extracts the value from the byte array myRecordDataprotected void
protected void
initialize
(FieldMetaData metaData, byte[] recordData) void
setFieldMetaData
(FieldMetaData newFieldMetaData) setter for field meta datavoid
setRecordData
(byte[] newRecordData) setter for record data
-
Constructor Details
-
CobolRedefinedFieldValue
public CobolRedefinedFieldValue() -
CobolRedefinedFieldValue
-
-
Method Details
-
initialize
-
getFieldMetaData
getter for field meta data -
setFieldMetaData
setter for field meta data -
getRecordData
public byte[] getRecordData()getter for record data -
setRecordData
public void setRecordData(byte[] newRecordData) setter for record data -
initialize
protected void initialize() -
getValue
calculates and extracts the value from the byte array myRecordData
-