public interface PersistenceCapable
Modifier and Type | Field and Description |
---|---|
static byte |
CHECK_READ |
static byte |
CHECK_WRITE |
static Object |
DESERIALIZED |
static byte |
LOAD_REQUIRED |
static byte |
MEDIATE_READ |
static byte |
MEDIATE_WRITE |
static byte |
READ_OK |
static byte |
READ_WRITE_OK |
static byte |
SERIALIZABLE |
static final byte READ_WRITE_OK
static final byte LOAD_REQUIRED
static final byte READ_OK
static final byte CHECK_READ
static final byte MEDIATE_READ
static final byte CHECK_WRITE
static final byte MEDIATE_WRITE
static final byte SERIALIZABLE
static final Object DESERIALIZED
int pcGetEnhancementContractVersion()
Object pcGetGenericContext()
StateManager pcGetStateManager()
void pcReplaceStateManager(StateManager sm)
void pcProvideField(int fieldIndex)
void pcProvideFields(int[] fieldIndices)
void pcReplaceField(int fieldIndex)
void pcReplaceFields(int[] fieldIndex)
void pcCopyFields(Object fromObject, int[] fields)
void pcDirty(String fieldName)
Object pcFetchObjectId()
Object pcGetVersion()
boolean pcIsDirty()
boolean pcIsTransactional()
boolean pcIsPersistent()
boolean pcIsNew()
boolean pcIsDeleted()
Boolean pcIsDetached()
PersistenceCapable pcNewInstance(StateManager sm, boolean clear)
PersistenceCapable pcNewInstance(StateManager sm, Object obj, boolean clear)
Object pcNewObjectIdInstance()
void pcCopyKeyFieldsToObjectId(Object obj)
void pcCopyKeyFieldsToObjectId(FieldSupplier supplier, Object obj)
void pcCopyKeyFieldsFromObjectId(FieldConsumer consumer, Object obj)
Object pcGetDetachedState()
void pcSetDetachedState(Object state)
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.