Class DetachState


  • public class DetachState
    extends FetchPlanState
    Holder for the detachment state control for the detachment process.
    • Constructor Detail

      • DetachState

        public DetachState​(ApiAdapter api)
        Constructor.
        Parameters:
        api - The API adapter
    • Method Detail

      • setDetachedCopyEntry

        public void setDetachedCopyEntry​(Object pc,
                                         Object detachedPC)
        Set to the current state a detached copy object
        Parameters:
        pc - The persistable object
        detachedPC - the Detached persistable object
      • getDetachedCopyEntry

        public DetachState.Entry getDetachedCopyEntry​(Object pc)
        Get any existing detached copy object for the passed in persistable
        Parameters:
        pc - the persistable object
        Returns:
        the Detached PC