Interface PersistenceCapable

All Known Implementing Classes:
ReflectingPersistenceCapable

public interface PersistenceCapable
The interface that persistent instances will implement.
Author:
Marc Prud'hommeaux
  • Field Details

  • Method Details

    • 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)