@Immutable @ParametersAreNonnullByDefault public class TransientStoreAdapter extends AbstractStoreAdapter
StoreAdapter, bound to a Resource.Internal, that caches the rebuilt
 PersistentEObjects. Its content is shared among all the dependencies that use
 it, i.e. each Resource.Internal has its own cache.
 
 This adapter is used in a transient context, when PersistentEObjects are not
 attached to a PersistentResource.
PersistentEObject| Constructor and Description | 
|---|
| TransientStoreAdapter(Store store,
                     org.eclipse.emf.ecore.resource.Resource.Internal resource)Constructs a new  TransientStoreAdapteron the givenstore. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()
 
 Cleanly closes this manager, clear all data in-memory and releases any system resources associated with it. | 
| protected Cache<Id,PersistentEObject> | getCache()Returns the in-memory cache holding recently loaded  PersistentEObjects. | 
| void | resource(org.eclipse.emf.ecore.resource.Resource.Internal resource)Defines the resource to store and access. | 
add, addAll, clear, contains, copyTo, createCache, get, getAll, getContainer, getContainingFeature, hashCode, indexOf, isEmpty, isSet, lastIndexOf, move, remove, removeContainment, resolve, resolveInstanceOf, resource, save, set, setAll, size, store, toArray, toArray, unset, updateContainment, updateInstanceOfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, removeAll@Nonnull protected Cache<Id,PersistentEObject> getCache()
AbstractStoreAdapterPersistentEObjects.getCache in class AbstractStoreAdapterpublic void close()
SaveableCleanly closes this manager, clear all data in-memory and releases any system resources associated with it. All modifications are saved before closing.
If the manager is already closed, then invoking this method has no effect.
close in interface Saveableclose in interface Closeableclose in interface AutoCloseableclose in class AbstractStoreAdapterpublic void resource(@Nullable org.eclipse.emf.ecore.resource.Resource.Internal resource)
StoreAdapterresource in interface StoreAdapterresource in class AbstractStoreAdapterresource - the resourceCopyright © 2013–2019 Atlanmod. All rights reserved.