B2B Integration : Trading Networks Built-In Services Reference : Dictionary Folder : Summary of Elements in this Folder : wm.tn.dictionary:getBinaryTypes
wm.tn.dictionary:getBinaryTypes
Retrieves the binary types defined for the trading network.
Input Parameters
None.
Output Parameters
binaryTypes
Object A java.lang.Hashtable that contains the binary types. The Hashtable is keyed by the String binary type descriptions, and the values are the Integer ID type codes.
binaryTypesByID
Object A java.lang.Hashtable that contains the binary types. The Hashtable is keyed by the Integer ID type codes and the values are the String binary type descriptions.
descriptions
String List A sorted list of all binary type descriptions, returned as a string[]. The list is sorted in ascending alphabetical sequence.
Usage Notes
The three output variables contain the same data presented three different ways.
1. If you have the binary type description and you need its ID, use the Hashtable returned in binaryTypes.
2. If you have the binary type ID and you need its description, use the Hashtable returned in binaryTypesByID.
3. To present the binary types sorted in alphabetical order, use the list returned in descriptions. Then use the Hashtable in binaryTypes to look up the corresponding ID for any String in the descriptions list.
Copyright © 2016- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback