Interface PCData

    • Method Detail

      • getId

        Object getId()
        Return the id of this instance.
      • getType

        Class getType()
        Return the type of this instance.
      • getImplData

        Object getImplData()
        Returns the instance-level impl data, or null if none.
      • setImplData

        void setImplData​(Object val)
        Sets the stored instance-level impl data.
      • getVersion

        Object getVersion()
        Returns the current version object that this data was loaded from.
      • setVersion

        void setVersion​(Object version)
        Sets the current version object that this data was loaded from.
      • load

        void load​(OpenJPAStateManager sm,
                  FetchConfiguration fetch,
                  Object context)
        Loads all fields that are currently stored in the cache into the given state manager.
        Parameters:
        sm - the state manager to load
        fetch - the fetch configuration to use for loading related objects
        context - current context information
      • load

        void load​(OpenJPAStateManager sm,
                  BitSet fields,
                  FetchConfiguration fetch,
                  Object context)
        Loads some or all of the marked fields from the cache into the given state manager.
        Parameters:
        sm - the state manager to load
        fields - the fields to load; clear the bits for the fields that are successfully loaded
        fetch - the fetch configuration to use for loading related objects
        context - current context information
      • getData

        Object getData​(int i)
        Return the data stored in the given field index.
      • isLoaded

        boolean isLoaded​(int i)
        Whether the given field index has stored data.
      • getCache

        String getCache()
        Get the name of the cache where this data is stored.