How to find Data type of Cursor Key

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.

Regards,
Mohan