org.apache.openjpa.enhance
Interface PersistenceCapable
- All Known Implementing Classes:
- ReflectingPersistenceCapable
public interface PersistenceCapable
The interface that persistent instances will implement.
- Author:
- Marc Prud'hommeaux
READ_WRITE_OK
static final byte READ_WRITE_OK
- See Also:
- Constant Field Values
LOAD_REQUIRED
static final byte LOAD_REQUIRED
- See Also:
- Constant Field Values
READ_OK
static final byte READ_OK
- See Also:
- Constant Field Values
CHECK_READ
static final byte CHECK_READ
- See Also:
- Constant Field Values
MEDIATE_READ
static final byte MEDIATE_READ
- See Also:
- Constant Field Values
CHECK_WRITE
static final byte CHECK_WRITE
- See Also:
- Constant Field Values
MEDIATE_WRITE
static final byte MEDIATE_WRITE
- See Also:
- Constant Field Values
SERIALIZABLE
static final byte SERIALIZABLE
- See Also:
- Constant Field Values
DESERIALIZED
static final Object DESERIALIZED
pcGetEnhancementContractVersion
int pcGetEnhancementContractVersion()
pcGetGenericContext
Object pcGetGenericContext()
pcGetStateManager
StateManager pcGetStateManager()
pcReplaceStateManager
void pcReplaceStateManager(StateManager sm)
pcProvideField
void pcProvideField(int fieldIndex)
pcProvideFields
void pcProvideFields(int[] fieldIndices)
pcReplaceField
void pcReplaceField(int fieldIndex)
pcReplaceFields
void pcReplaceFields(int[] fieldIndex)
pcCopyFields
void pcCopyFields(Object fromObject,
int[] fields)
pcDirty
void pcDirty(String fieldName)
pcFetchObjectId
Object pcFetchObjectId()
pcGetVersion
Object pcGetVersion()
pcIsDirty
boolean pcIsDirty()
pcIsTransactional
boolean pcIsTransactional()
pcIsPersistent
boolean pcIsPersistent()
pcIsNew
boolean pcIsNew()
pcIsDeleted
boolean pcIsDeleted()
pcIsDetached
Boolean pcIsDetached()
pcNewInstance
PersistenceCapable pcNewInstance(StateManager sm,
boolean clear)
pcNewInstance
PersistenceCapable pcNewInstance(StateManager sm,
Object obj,
boolean clear)
pcNewObjectIdInstance
Object pcNewObjectIdInstance()
pcNewObjectIdInstance
Object pcNewObjectIdInstance(Object obj)
pcCopyKeyFieldsToObjectId
void pcCopyKeyFieldsToObjectId(Object obj)
pcCopyKeyFieldsToObjectId
void pcCopyKeyFieldsToObjectId(FieldSupplier supplier,
Object obj)
pcCopyKeyFieldsFromObjectId
void pcCopyKeyFieldsFromObjectId(FieldConsumer consumer,
Object obj)
pcGetDetachedState
Object pcGetDetachedState()
pcSetDetachedState
void pcSetDetachedState(Object state)
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.