getKeyAsObject() - JDO SingleFieldIdentity's method

Method
javax.jdo.identity.SingleFieldIdentity
Object getKeyAsObject()

Return the key as an Object. The method is synchronized to avoid race conditions in multi-threaded environments.
Returns:
the key as an Object.
Since:
JDO 2.0