@Test void testStoreGeneration() { PersistentEObject object = new DefaultPersistentEObject(); assertThat(object.eStore()).isNotNull().isInstanceOf(TransientStoreAdapter.class); object.eStore().close(); }
@Nonnull @Override public StoreAdapter eStore() { return lazyStore.get(); }
DefaultPersistentEObject extends MinimalEStoreEObjectImpl implements PersistentEObject { @Nonnull @Override public StoreAdapter eStore() { return lazyStore.get(); } }
DefaultPersistentEObject extends MinimalEStoreEObjectImpl implements PersistentEObject { @Nonnull @Override public StoreAdapter eStore() { return lazyStore.get(); } @VisibleForTesting  DefaultPersistentEObject(); protected  DefaultPersistentEObject(Id id); }
DefaultPersistentEObject extends MinimalEStoreEObjectImpl implements PersistentEObject { @Nonnull @Override public StoreAdapter eStore() { return lazyStore.get(); } @VisibleForTesting  DefaultPersistentEObject(); protected  DefaultPersistentEObject(Id id); @Nonnull @Override Id id(); @Override void id(Id newId); @Override @Nullable Resource.Internal resource(); @Override void resource(@Nullable Resource.Internal newResource); @Override void eSetDirectResource(@Nullable Resource.Internal resource); @Nonnull @Override EList<EObject> eContents(); @Nonnull @Override @SuppressWarnings("unchecked") TreeIterator<EObject> eAllContents(); @Nullable @Override Resource.Internal eInternalResource(); @Override void eSetStore(EStore store); @Override String toString(); @Nonnull @Override StoreAdapter eStore(); @Nullable @Override Object dynamicGet(int dynamicFeatureId); @Override void dynamicSet(int dynamicFeatureId, Object value); @Override void dynamicUnset(int dynamicFeatureId); @Override PersistentEObject eInternalContainer(); @Override int eContainerFeatureID(); @Override int hashCode(); @Override boolean equals(@Nullable Object o); }
DefaultPersistentEObject extends MinimalEStoreEObjectImpl implements PersistentEObject { @Nonnull @Override public StoreAdapter eStore() { return lazyStore.get(); } @VisibleForTesting  DefaultPersistentEObject(); protected  DefaultPersistentEObject(Id id); @Nonnull @Override Id id(); @Override void id(Id newId); @Override @Nullable Resource.Internal resource(); @Override void resource(@Nullable Resource.Internal newResource); @Override void eSetDirectResource(@Nullable Resource.Internal resource); @Nonnull @Override EList<EObject> eContents(); @Nonnull @Override @SuppressWarnings("unchecked") TreeIterator<EObject> eAllContents(); @Nullable @Override Resource.Internal eInternalResource(); @Override void eSetStore(EStore store); @Override String toString(); @Nonnull @Override StoreAdapter eStore(); @Nullable @Override Object dynamicGet(int dynamicFeatureId); @Override void dynamicSet(int dynamicFeatureId, Object value); @Override void dynamicUnset(int dynamicFeatureId); @Override PersistentEObject eInternalContainer(); @Override int eContainerFeatureID(); @Override int hashCode(); @Override boolean equals(@Nullable Object o);  }