public class PCState extends Object implements Serializable
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.Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
PCState() |
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
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.