Interface PersistenceCapable

    • Method Detail

      • jdoGetStateManager

        StateManager jdoGetStateManager()
        Returns the associated state manager.
      • jdoSetStateManager

        void jdoSetStateManager​(StateManager sm)
        Sets the associated state manager.
      • jdoGetFlags

        byte jdoGetFlags()
        Returns the value of the JDO flags.
      • jdoSetFlags

        void jdoSetFlags​(byte flags)
        Sets the value of the JDO flags, and returns the previous value.
      • jdoGetField

        Object jdoGetField​(int fieldNumber)
        Returns the value of the specified field. Primitive valued fields are wrapped with the corresponding Object wrapper type.
      • jdoSetField

        void jdoSetField​(int fieldNumber,
                         Object value)
        Sets the value of the specified field. Primitive valued fields are wrapped with the corresponding Object wrapper type.
      • jdoNewInstance

        Object jdoNewInstance​(StateManager statemanager)
        Creates an instance of the same class as this object.
      • jdoClear

        void jdoClear()
        Clears the fields of each persistent field. This method stores zero or null values into each persistent field of the instance, in effect reverting it to its initial state. Clearing fields allows objects referred to by this instance to be garbage collected. The associated StateManager calls this method when transitioning an instance to the hollow state. This will normally be during post completion.