Interface TestStateManager

  • All Known Implementing Classes:
    SQLStateManager

    public interface TestStateManager
    This interface is used to unit test the StateManager.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean testIsAutoPersistent()
      This method is used to determine if an instance is in the autopersistent state.
      boolean testIsLoaded​(int fieldNumber)
      This method is used to test if a field identified by fieldNumber is loaded in memory.
      boolean testIsLoaded​(String fieldName)
      This method is used to test if a field identified by fieldName is loaded in memory.
    • Method Detail

      • testIsLoaded

        boolean testIsLoaded​(String fieldName)
        This method is used to test if a field identified by fieldName is loaded in memory. It returns true is the field is loaded and false, otehrwise.
      • testIsLoaded

        boolean testIsLoaded​(int fieldNumber)
        This method is used to test if a field identified by fieldNumber is loaded in memory. It returns true is the field is loaded and false otehrwise.
      • testIsAutoPersistent

        boolean testIsAutoPersistent()
        This method is used to determine if an instance is in the autopersistent state. It returns true if the instance is autopersistence and false otherwise.