Home » JDO » Listeners » InstanceLifecycleEvent » getTarget() - JDO InstanceLifecycleEvent's method

getTarget() - JDO InstanceLifecycleEvent's method

The target object of the Event. Although not deprecated, it is recommended that the the methods getPersistentInstance() and getDetachedInstance() be used instead.
The detached instance for preDetach and postAttach, the persistent instance otherwise.
JDO 2.0
See Also:
"Section 12.15, Java Data Objects 2.0 Specification"

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.