Interface Proxy

    • Method Detail

      • setOwner

        void setOwner​(OpenJPAStateManager sm,
                      int field)
        Reset the state of the proxy, and set the owning instance of the proxy and the name of the field it is assigned to. Set to null to indicate that the proxy is no longer managed.
      • getOwnerField

        int getOwnerField()
        Return the owning field index.
      • getChangeTracker

        ChangeTracker getChangeTracker()
        Return the change tracker for this proxy, or null if none.
      • copy

        java.lang.Object copy​(java.lang.Object orig)
        Return an unproxied copy of the given instance. This method is used by proxy managers to create backup values for use in rollback.