IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  Java Class reference

    Posted 11/10/08 09:54 AM

    Originally posted by: SystemAdmin


    Hi everybody, I'm trying to use the java adapter in WTX 8.2.0.3 and I am having a problem with it.
    I have a class that has an attribute with a java.lang.Integer type (I have the same problem with every non-primitive type from the JRE) and I have to map fields from an xml to this attributes to output a Java object. The problem is that in the type tree, that attribute appears as ref.AttributeName, so I would have to put an ID in that field's rule.
    But should I create a tree for each one of these classes that belong to the JRE so I can assign an id to them later in the map? This sounds wrong to me, because these classes have other non-primitive classes inside and this may never end. Besides, mapping all the necessary elements for each one of these trees would probably be impossible.
    Is there another way of doing this? How can I map the values to these JRE classes?

    Thanks in advance

    Santiago
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: Java Class reference

    Posted 03/09/09 09:18 AM

    Originally posted by: SystemAdmin


    see java class example map
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender