Creating an object constant
Use these procedures in Mapper for a mapping that will use the MECDataTranslator
class.
Use a global MECDataTranslator
variable and instantiate the object in the first Java function where a data translation is performed or in a generic initialization function. You must instantiate the object before the first data translation is finished. Otherwise, the generation of data translation metadata in Mapper will fail.
You do not need to create several instances of the MECDataTranslator
data type because you use the same message standard, message version, and message type as specified for the constructor in the whole mapping.
You can use several instances of local MECDataTranslator
. You can also combine the instances of local with instances of a global MECDataTranslator
if the name of the object or variable for the local and global MECDataTranslator
are not the same.