PersistenceCapable newInstance(
Class pcClass,
StateManager sm
)
Create a new instance of the class and assign its
jdoStateManager
. The new instance has its jdoFlags
set to LOAD_REQUIRED
. - Parameters:
pcClass
- thePersistenceCapable
class.sm
- theStateManager
which will own the new instance.
- Return:
- the new instance, or
null
if the class is not registered.
- See Also:
PersistenceCapable(StateManager sm)
- Since:
- JDO 1.0