Interface PersistenceCapable

  • All Known Implementing Classes:
    ReflectingPersistenceCapable

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

      • pcGetEnhancementContractVersion

        int pcGetEnhancementContractVersion()
      • pcGetGenericContext

        java.lang.Object pcGetGenericContext()
      • 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​(java.lang.Object fromObject,
                          int[] fields)
      • pcDirty

        void pcDirty​(java.lang.String fieldName)
      • pcFetchObjectId

        java.lang.Object pcFetchObjectId()
      • pcGetVersion

        java.lang.Object pcGetVersion()
      • pcIsDirty

        boolean pcIsDirty()
      • pcIsTransactional

        boolean pcIsTransactional()
      • pcIsPersistent

        boolean pcIsPersistent()
      • pcIsNew

        boolean pcIsNew()
      • pcIsDeleted

        boolean pcIsDeleted()
      • pcIsDetached

        java.lang.Boolean pcIsDetached()
      • pcNewObjectIdInstance

        java.lang.Object pcNewObjectIdInstance()
      • pcNewObjectIdInstance

        java.lang.Object pcNewObjectIdInstance​(java.lang.Object obj)
      • pcCopyKeyFieldsToObjectId

        void pcCopyKeyFieldsToObjectId​(java.lang.Object obj)
      • pcCopyKeyFieldsToObjectId

        void pcCopyKeyFieldsToObjectId​(FieldSupplier supplier,
                                       java.lang.Object obj)
      • pcCopyKeyFieldsFromObjectId

        void pcCopyKeyFieldsFromObjectId​(FieldConsumer consumer,
                                         java.lang.Object obj)
      • pcGetDetachedState

        java.lang.Object pcGetDetachedState()
      • pcSetDetachedState

        void pcSetDetachedState​(java.lang.Object state)