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.
Returns:
The detached instance for preDetach and postAttach, the persistent instance otherwise.
Since:
JDO 2.0
See Also:
getPersistentInstance()
getDetachedInstance()
"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.