The BiDiBusObjTransformation() method transforms BusObj type business objects from one bidirectional format to the other. Use this method within collaborations.
Syntax
BusObj BiDiBusObjTransformation(BusObj busObjIn, String formatIn, String formatOut, boolean replace)
Parameters
Table 87. Values for format strings
Letter position | Purpose | Values | Description | Default |
---|---|---|---|---|
1 | Type | I | Implicit (Logical) | I |
V | Visual | |||
2 | Direction | L | Left to Right | L |
R | Right to Left | |||
3 | Symmetric swapping | Y | Symmetric swapping is on | Y |
N | Symmetric swapping is off | |||
4 | Shaping | Y | Text is shaped | N |
N | Text is not shaped | |||
5 | Numeric shaping | H | Hindi | N |
C | Contextual | |||
N | Nominal |
Return values
The return value is a transformed business object. If the method is unsuccessful, it returns a null value.
Exceptions
None.
Examples
This example transforms InputBOBusObj from the standard Windows bidirectional format to the visual bidirectional format.
BusObj dummyBusObj = null; dummyBusObj = CwBidiEngine.BiDiBusObjTransformation( InputBOBusObj, "ILYNN", "VLYNN",true);