Interface ObjectSwizzling

All Known Subinterfaces:
BinaryLoader, Database, EmbeddedStorageManager, PersistenceLoader, PersistenceManager<D>, PersistenceRetrieving, PersistenceSourceSupplier<D>, Persister, StorageConnection, StorageManager, ViewerBinaryPersistenceManager
All Known Implementing Classes:
BinaryLoader.Default, Database.Default, EmbeddedStorageManager.Default, PersistenceManager.Default, StorageConnection.Default, StorageManagerProxy, ViewerBinaryPersistenceManager.Default

public interface ObjectSwizzling
  • Method Summary

    Modifier and Type Method Description
    Object getObject​(long objectId)
    Retrieves the instance associated with the passed objectId.
  • Method Details

    • getObject

      Object getObject​(long objectId)
      Retrieves the instance associated with the passed objectId. Retrieving means guaranteeing that the associated instance is returned. If it does not yet exist, it will be created from persisted data, including all non-lazily referenced objects it is connected to.
      Parameters:
      objectId - the objectId defining which instance to return.
      Returns:
      the instance associated with the passed objectId.