B2B Integration 10.4 | Administering and Monitoring B2B Transactions | 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- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release