it.imolinfo.jbi4cics.typemapping.cobol
Class PackedDecimalMarshaller

java.lang.Object
  extended by it.imolinfo.jbi4cics.typemapping.cobol.PackedDecimalMarshaller

public class PackedDecimalMarshaller
extends java.lang.Object


Field Summary
static byte NEGATIVE_SIGN
           
static byte NO_SIGN
           
static byte POSITIVE_SIGN
           
 
Constructor Summary
PackedDecimalMarshaller()
          void constructor.
 
Method Summary
static void marshallBigDecimal(java.math.BigDecimal value, byte[] buffer, CobolTypeDescriptor cobolType, int startingOffset)
           
static java.math.BigDecimal unmarshallBigDecimal(byte[] buffer, CobolTypeDescriptor cobolType, int startingOffset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POSITIVE_SIGN

public static final byte POSITIVE_SIGN
See Also:
Constant Field Values

NEGATIVE_SIGN

public static final byte NEGATIVE_SIGN
See Also:
Constant Field Values

NO_SIGN

public static final byte NO_SIGN
See Also:
Constant Field Values
Constructor Detail

PackedDecimalMarshaller

public PackedDecimalMarshaller()
void constructor.

Method Detail

marshallBigDecimal

public static void marshallBigDecimal(java.math.BigDecimal value,
                                      byte[] buffer,
                                      CobolTypeDescriptor cobolType,
                                      int startingOffset)
                               throws FormatException
Throws:
FormatException

unmarshallBigDecimal

public static java.math.BigDecimal unmarshallBigDecimal(byte[] buffer,
                                                        CobolTypeDescriptor cobolType,
                                                        int startingOffset)
                                                 throws FormatException
Throws:
FormatException


Copyright © 2005-2008 Imola Informatica. All Rights Reserved.