Class MakeTransientFieldManager

All Implemented Interfaces:
FieldManager

public class MakeTransientFieldManager extends AbstractFetchDepthFieldManager
Field Manager to handle the making transient of fields.
  • Constructor Details

    • MakeTransientFieldManager

      public MakeTransientFieldManager(DNStateManager sm, boolean[] secondClassMutableFields, FetchPlanForClass fpClass, FetchPlanState state)
      Constructor for a field manager for make transient process.
      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 fetchplan process
  • Method Details

    • processPersistable

      protected void processPersistable(Object pc)
      Utility method to process the passed persistable object.
      Parameters:
      pc - The PC object
    • internalFetchObjectField

      protected Object internalFetchObjectField(int fieldNumber)
      Method to fetch an object field whether it is SCO collection, PC, or whatever for the fetchplan process.
      Specified by:
      internalFetchObjectField in class AbstractFetchDepthFieldManager
      Parameters:
      fieldNumber - Number of the field
      Returns:
      The object
    • endOfGraphOperation

      protected Object endOfGraphOperation(int fieldNumber)
      Method to throw and EndOfFetchPlanGraphException since we're at the end of a branch in the tree.
      Specified by:
      endOfGraphOperation in class AbstractFetchDepthFieldManager
      Parameters:
      fieldNumber - Number of the field
      Returns:
      Object to return