it.imolinfo.jbi4cics.messageformat.commarea
Class CommareaFormatter

java.lang.Object
  extended by it.imolinfo.jbi4cics.messageformat.commarea.CommareaFormatter
All Implemented Interfaces:
MessageFormatter

public final class CommareaFormatter
extends java.lang.Object
implements MessageFormatter

Questa classe serve a formattare una commarea secondo quanto definito nel CommareaBeanMappingDescriptor known limitation: ad oggi non sono supportati i filler e i nested bean known bugs: ci sono dei problemi di conversione da e verso Float e Double (temo ineliminabili perche' dovuti alla limitata precisione del formato dati) c'è un problema di conversione con BigDecimal non meglio identificato, vedere SimpleCommareaMappingTest.

Author:
raffaele, Marco Cimatti

Constructor Summary
CommareaFormatter()
          Initializes a new instance of this class.
 
Method Summary
 void mapInputBeanToInputMessage(ServiceContext context)
           
 void mapOutputMessageToOutputBean(ServiceContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommareaFormatter

public CommareaFormatter()
Initializes a new instance of this class.

Method Detail

mapInputBeanToInputMessage

public void mapInputBeanToInputMessage(ServiceContext context)
                                throws FormatException
Specified by:
mapInputBeanToInputMessage in interface MessageFormatter
Throws:
FormatException

mapOutputMessageToOutputBean

public void mapOutputMessageToOutputBean(ServiceContext context)
                                  throws FormatException
Specified by:
mapOutputMessageToOutputBean in interface MessageFormatter
Throws:
FormatException


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