Dictionary Support for RAD in Java
To support the dictionary type, Java client uses the java.util.Map<K,V>
interface. For more information about dictionary, see Dictionary Definitions in RAD Modules in Remote Administration Daemon Module Developer's Guide.
The following example shows how to read and write a property defined in a dictionary. For more information, see Defining a Dictionary for RAD in Remote Administration Daemon Module Developer's Guide.
//reading a property value Map<Integer, String> property = o.getDictProp(); //writing a property value Map<Integer, String> property = new HashMap<Integer, String>(); .... o.setDictProp(property);