Class DetachFieldManager

All Implemented Interfaces:
FieldManager

public class DetachFieldManager extends AbstractFetchDepthFieldManager
FieldManager to handle the detachment of fields with persistable objects.
  • Field Details

    • copy

      boolean copy
      Whether we should create detached copies, or detach in situ.
  • Constructor Details

    • DetachFieldManager

      public DetachFieldManager(DNStateManager sm, boolean[] secondClassMutableFields, FetchPlanForClass fpClass, FetchPlanState state, boolean copy)
      Constructor for a field manager for detachment.
      Parameters:
      sm - StateManager of the instance being detached. An instance in Persistent or Transactional state
      secondClassMutableFields - The second class mutable fields for the class of this object
      fpClass - Fetch Plan for the class of this instance
      state - State object to hold any pertinent controls for the detachment process
      copy - Whether to create detached COPIES or just detach in-situ
  • Method Details