|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.kernel.PCState
public class PCState
Base class for all lifecycle states. Each instance is managed by
a OpenJPAStateManager
, which in turn keeps a reference to its current
state.
The state governs the behavior of the instance during all lifecycle
events. The class itself is stateless, and is provided its context
on each method call. This base class provides no-op implementations
of all methods and maintains static singelton shared references to each
possible state.
Field Summary | |
---|---|
static PCState |
ECLEAN
Embedded-Clean |
static PCState |
ECOPY
Embedded-Copy |
static PCState |
EDELETED
Embedded-Deleted |
static PCState |
EDIRTY
Embedded-Dirty |
static PCState |
ENONTRANS
Embedded-Nontransactional |
static PCState |
HOLLOW
Hollow; exists in data store |
static PCState |
PCLEAN
Persistent-Clean |
static PCState |
PDELETED
Persistent-Deleted |
static PCState |
PDELETEDFLUSHED
Persistent-Deleted-Flushed |
static PCState |
PDIRTY
Persistent-Dirty |
static PCState |
PNEW
Persistent-New |
static PCState |
PNEWDELETED
Persistent-New-Deleted |
static PCState |
PNEWFLUSHEDDELETED
Persistent-New-Flushed-Deleted |
static PCState |
PNEWFLUSHEDDELETEDFLUSHED
Persistent-New-Flushed-Deleted-Flushed |
static PCState |
PNEWPROVISIONAL
Persistent-New-Provisional |
static PCState |
PNONTRANS
Persistent-Nontransactinoal |
static PCState |
PNONTRANSDELETED
Persistent-Deleted-Nontransactional |
static PCState |
PNONTRANSDIRTY
Persistent-Dirty-Nontransactinoal |
static PCState |
PNONTRANSNEW
Persistent-New-Nontransactional |
static PCState |
TCLEAN
Transient-Clean |
static PCState |
TDIRTY
Transient-Dirty |
static PCState |
TLOADED
Transient-Loaded |
static PCState |
TRANSIENT
Transient; unmanaged instance |
Constructor Summary | |
---|---|
PCState()
|
Method Summary | |
---|---|
protected Object |
readResolve()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PCState PNEW
public static final PCState PCLEAN
public static final PCState PDIRTY
public static final PCState PDELETED
public static final PCState PNEWDELETED
public static final PCState PNEWPROVISIONAL
public static final PCState PNONTRANS
public static final PCState PNONTRANSDIRTY
public static final PCState PNONTRANSNEW
public static final PCState PNONTRANSDELETED
public static final PCState HOLLOW
public static final PCState TRANSIENT
public static final PCState TCLEAN
public static final PCState TDIRTY
public static final PCState TLOADED
public static final PCState ECOPY
public static final PCState ECLEAN
public static final PCState EDIRTY
public static final PCState EDELETED
public static final PCState ENONTRANS
public static final PCState PNEWFLUSHEDDELETED
public static final PCState PNEWFLUSHEDDELETEDFLUSHED
public static final PCState PDELETEDFLUSHED
Constructor Detail |
---|
public PCState()
Method Detail |
---|
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |