How can I use getAnnex() to get option key-value I configured in CME? (GAD)

I am doing GAD customization. I defined some business attribute in cme, for example, I created some items under dispostion code, under Annex of these items, I defined a section, under this section, I defined some options.
, then I want to get these option key-value in GAD customization.

I’ve already got the object of EnumValue(every single item is a object of EnumValue),then i can have a map returned by using getAnnex() , but I am stuck at geting the option key-value.

does anyone have some experience about this?

Kevin

System.out.println(dispostionCode.getAnnex().values().toString());
System.out.println(dispostionCode.getAnnex().keySet().toString());

I tried to output getAnnex(), and got the returned output as below. ItemInfo, aaa are two section under Annex, dispostionCode is an instance of EnumValue.

[ ,]
[ItemInfo, aaa]

but what I need is the option key-value under these sections.

Kevin.

1 Like