How to find Data type of Cursor Key

Hi Experts,

How can I get the data type of element that a cursor currently pointing in IData object in java service? Content inside IData object is dynamic. So it is necessary to get data type of object before assign it to corresponding Object type.


Hi. This question is old, but I see that no one has responded to it.

IData does not hold type information for its members, so you will have to use java.lang.Class to get the name of the class.

Object o = idatacursor.getValue();
String className = o.getClass().getCanonicalName();


Thanks michael