public class ReflectingPersistenceCapable extends Object implements PersistenceCapable, ManagedInstanceProvider, Serializable
PersistenceCapable interface that can handle
the persistence-capable contract for instances that were not enhanced
before class load time.CHECK_READ, CHECK_WRITE, DESERIALIZED, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE| Constructor and Description |
|---|
ReflectingPersistenceCapable(Object o,
OpenJPAConfiguration conf) |
public ReflectingPersistenceCapable(Object o, OpenJPAConfiguration conf)
public int pcGetEnhancementContractVersion()
pcGetEnhancementContractVersion in interface PersistenceCapablepublic Object pcGetGenericContext()
pcGetGenericContext in interface PersistenceCapablepublic StateManager pcGetStateManager()
pcGetStateManager in interface PersistenceCapablepublic void pcReplaceStateManager(StateManager sm)
pcReplaceStateManager in interface PersistenceCapablepublic void pcProvideField(int i)
pcProvideField in interface PersistenceCapablepublic void pcProvideFields(int[] fieldIndices)
pcProvideFields in interface PersistenceCapablepublic void pcReplaceField(int i)
pcReplaceField in interface PersistenceCapablepublic void pcReplaceFields(int[] fieldIndices)
pcReplaceFields in interface PersistenceCapablepublic void pcCopyField(Object fromObject, int i)
public void pcCopyFields(Object fromObject, int[] fieldIndices)
pcCopyFields in interface PersistenceCapablepublic void pcDirty(String fieldName)
pcDirty in interface PersistenceCapablepublic Object pcFetchObjectId()
pcFetchObjectId in interface PersistenceCapablepublic Object pcGetVersion()
pcGetVersion in interface PersistenceCapablepublic boolean pcIsDirty()
pcIsDirty in interface PersistenceCapablepublic boolean pcIsTransactional()
pcIsTransactional in interface PersistenceCapablepublic boolean pcIsPersistent()
pcIsPersistent in interface PersistenceCapablepublic boolean pcIsNew()
pcIsNew in interface PersistenceCapablepublic boolean pcIsDeleted()
pcIsDeleted in interface PersistenceCapablepublic Boolean pcIsDetached()
pcIsDetached in interface PersistenceCapablepublic PersistenceCapable pcNewInstance(StateManager sm, boolean clear)
pcNewInstance in interface PersistenceCapablepublic PersistenceCapable pcNewInstance(StateManager sm, Object oid, boolean clear)
pcNewInstance in interface PersistenceCapablepublic Object pcNewObjectIdInstance()
pcNewObjectIdInstance in interface PersistenceCapablepublic Object pcNewObjectIdInstance(Object oid)
pcNewObjectIdInstance in interface PersistenceCapablepublic void pcCopyKeyFieldsToObjectId(Object oid)
pcCopyKeyFieldsToObjectId in interface PersistenceCapablepublic void pcCopyKeyFieldsToObjectId(FieldSupplier supplier, Object obj)
pcCopyKeyFieldsToObjectId in interface PersistenceCapablepublic void pcCopyKeyFieldsFromObjectId(FieldConsumer consumer, Object obj)
pcCopyKeyFieldsFromObjectId in interface PersistenceCapablepublic Object pcGetDetachedState()
pcGetDetachedState in interface PersistenceCapablepublic void pcSetDetachedState(Object state)
pcSetDetachedState in interface PersistenceCapablepublic void pcSetSerializationUserVisible(boolean userVisible)
public boolean pcIsSerializationUserVisible()
public Object getManagedInstance()
getManagedInstance in interface ManagedInstanceProviderCopyright © 2006–2018 Apache Software Foundation. All rights reserved.