question

Upvotes
Accepted
25 2 5 9

How to convert currency code to its value in EMA?

fieldEntry.enumValue() gives the INT value . How to obtain the enum text representation ? Please advise.

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
9.5k 10 5 7

Hello @sagar.s

EMA Java is open source so you can modify it to get decoded enum value according to the enum dictionary it has loaded. Please refer to the question

Decoding FieldList Contents with Field and Enumerated Types Dictionaries which explains how to modify EMA Java to get enum text

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
9.7k 49 38 60

Hi @sagar.s,

The details of the enumeration values you are interested in are available within the dictionary however these details and interface are presently hidden from the developer. These capabilities will be available in future releases.

You can refer this discussion and approach to programmatically access these details.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Is there any Java discussion which I can refer?

Is there an ETA for enumText representation for the future release? Any idea when it will be released?

Upvotes
9.7k 49 38 60

Hi @sagar.s,

There are no equivalent discussions within this forum related to Java. However, you can refer to the EMA Examples, specifically within the 300 Series Examples, you will find 332__Dictionary__Streaming.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea