Home » JDO » Predefined ID Classes » SingleFieldIdentity » getKeyAsObject() - JDO SingleFieldIdentity's method

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

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.