Skip navigation links

Package com.orchestranetworks.addon.dint.transformation

Provides classes and interfaces to define and register transformations.

See: Description

Package com.orchestranetworks.addon.dint.transformation Description

Provides classes and interfaces to define and register transformations.

A transformation can be add to SourceFieldMappingStep or the other TransformationMappingStep. The Java API allows to execute many transformations as a chain.

For example:
  1. User wants to upper case the string data before insert to the target table:

    - First, get SourceFieldMappingStep from TableMapping.

    - Use StringUpperCase transformation to upper this source field.

    - Finally, map with the target field.
  2. User wants to add more prefix 'Mr/Ms' to name field and insert to the target table:

    - First get ConstantTransformationMappingStep from TableMapping.

    - Use StringConcat transformation to concatenate with the name field from the source table.

    - Finally, map with the target field.
  3. User wants to upper case only the first name of the full name string and insert to the target table:

    - First, get SourceFieldMappingStep from TableMapping.

    - Use StringSplit transformation to split full name string into two variable 'firstName' and 'lastName'.

    - Use StringUpperCase transformation to upper case the variable 'firstName'.

    - Use StringConcat transformation to concatenate with the variable 'lastName', the output of the previous split step.

    - Finally, map with the target field.

A custom transformation needs to be registered to be displayed in the mapping screen:

        TransformationRegistry.getInstance().add(new ACustomTransformationDefinition());
Please refer to the corresponding package for the detail and examples.
Skip navigation links

EBX® Add-ons Version 5.3.0.

Copyright TIBCO Software Inc. 2001-2022. All rights reserved.
All third party product and company names and third party marks mentioned in this document are the property of their respective owners and are mentioned for identification.