| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 | ECLEANEmbedded-Clean | 
| static PCState | ECOPYEmbedded-Copy | 
| static PCState | EDELETEDEmbedded-Deleted | 
| static PCState | EDIRTYEmbedded-Dirty | 
| static PCState | ENONTRANSEmbedded-Nontransactional | 
| static PCState | HOLLOWHollow; exists in data store | 
| static PCState | PCLEANPersistent-Clean | 
| static PCState | PDELETEDPersistent-Deleted | 
| static PCState | PDELETEDFLUSHEDPersistent-Deleted-Flushed | 
| static PCState | PDIRTYPersistent-Dirty | 
| static PCState | PNEWPersistent-New | 
| static PCState | PNEWDELETEDPersistent-New-Deleted | 
| static PCState | PNEWFLUSHEDDELETEDPersistent-New-Flushed-Deleted | 
| static PCState | PNEWFLUSHEDDELETEDFLUSHEDPersistent-New-Flushed-Deleted-Flushed | 
| static PCState | PNEWPROVISIONALPersistent-New-Provisional | 
| static PCState | PNONTRANSPersistent-Nontransactinoal | 
| static PCState | PNONTRANSDELETEDPersistent-Deleted-Nontransactional | 
| static PCState | PNONTRANSDIRTYPersistent-Dirty-Nontransactinoal | 
| static PCState | PNONTRANSNEWPersistent-New-Nontransactional | 
| static PCState | TCLEANTransient-Clean | 
| static PCState | TDIRTYTransient-Dirty | 
| static PCState | TLOADEDTransient-Loaded | 
| static PCState | TRANSIENTTransient; unmanaged instance | 
| Constructor Summary | |
|---|---|
| PCState() | |
| Method Summary | |
|---|---|
| protected  java.lang.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 java.lang.Object readResolve()
                                throws java.io.ObjectStreamException
java.io.ObjectStreamException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||