BiDiBOTransformation()

The BiDiTransformation() method transforms BusinessObject type business objects from one bidirectional format to the other format. Use this method when you develop controllers, connectors and maps.

Syntax

BusinessObject BiDiBOTransformation(BusinessObject boIn, String formatIn, 
   String formatOut, boolean replace)

Parameters

boIn
The business object to transform. The object must be of the BusinessObject type.

formatIn
A string that represents the bidirectional format of the input business object content. See Table 87 for the valid values of this string. If this parameter is null, the method defaults to the standard Windows bidirectional format.

formatOut
A string that represents the bidirectional format of the output business object content. See Table 87 for the valid values of this string. If this parameter is null, the method defaults to the standard Windows bidirectional format.

replace
A value that specifies whether the input business object is to be replaced. The valid value is either true or false.

Return values

The return value is a transformed business object. If the method is unsuccessful, it returns a null value.

Exceptions

None.

Examples

See the example in BiDiStringTransformation().

Copyright IBM Corp. 1997, 2004