test_class.declarator: repository
test_class.modifier: private
test_class.original_string: private RecordBasedRepository<I, E, S> repository;
test_class.type: RecordBasedRepository<I, E, S>
test_class.var_name: repository
test_class.file: server/src/test/java/io/spine/server/entity/RecordBasedRepositoryTest.java
test_class.identifier: RecordBasedRepositoryTest
test_class.superclass: extends TenantAwareTest
test_case.body: @Test
      @DisplayName("create entities")
      void createEntities() {
          I id = createId(5);
          E projectEntity = repository().create(id);
          assertNotNull(projectEntity);
          assertEquals(id, projectEntity.id());
      }
test_case.class_method_signature: RecordBasedRepositoryTest.createEntities()
test_case.full_signature: @Test @DisplayName("create entities") void createEntities()
test_case.identifier: createEntities
test_case.invocations: createId create repository assertNotNull assertEquals id
test_case.modifiers: @Test @DisplayName("create entities")
test_case.parameters: ()
test_case.return: void
test_case.signature: void createEntities()
focal_class.file: server/src/main/java/io/spine/server/entity/RecordBasedRepository.java
focal_class.identifier: RecordBasedRepository
focal_class.class_method_signature: RecordBasedRepository.RecordBasedRepository()
focal_class.full_signature: protected  RecordBasedRepository()
focal_class.identifier: RecordBasedRepository
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.signature:  RecordBasedRepository()
focal_class.class_method_signature: RecordBasedRepository.entityFactory()
focal_class.full_signature: protected abstract EntityFactory<E> entityFactory()
focal_class.identifier: entityFactory
focal_class.modifiers: protected abstract
focal_class.parameters: ()
focal_class.return: EntityFactory<E>
focal_class.signature: EntityFactory<E> entityFactory()
focal_class.class_method_signature: RecordBasedRepository.storageConverter()
focal_class.full_signature: protected abstract StorageConverter<I, E, S> storageConverter()
focal_class.identifier: storageConverter
focal_class.modifiers: protected abstract
focal_class.parameters: ()
focal_class.return: StorageConverter<I, E, S>
focal_class.signature: StorageConverter<I, E, S> storageConverter()
focal_class.class_method_signature: RecordBasedRepository.recordStorage()
focal_class.full_signature: protected RecordStorage<I> recordStorage()
focal_class.identifier: recordStorage
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: RecordStorage<I>
focal_class.signature: RecordStorage<I> recordStorage()
focal_class.class_method_signature: RecordBasedRepository.create(I id)
focal_class.full_signature: @OverridingMethodsMustInvokeSuper @Override public E create(I id)
focal_class.identifier: create
focal_class.modifiers: @OverridingMethodsMustInvokeSuper @Override public
focal_class.parameters: (I id)
focal_class.return: E
focal_class.signature: E create(I id)
focal_class.class_method_signature: RecordBasedRepository.store(E entity)
focal_class.full_signature: @Override public void store(E entity)
focal_class.identifier: store
focal_class.modifiers: @Override public
focal_class.parameters: (E entity)
focal_class.return: void
focal_class.signature: void store(E entity)
focal_class.class_method_signature: RecordBasedRepository.iterator(Predicate<E> filter)
focal_class.full_signature: @Override public Iterator<E> iterator(Predicate<E> filter)
focal_class.identifier: iterator
focal_class.modifiers: @Override public
focal_class.parameters: (Predicate<E> filter)
focal_class.return: Iterator<E>
focal_class.signature: Iterator<E> iterator(Predicate<E> filter)
focal_class.class_method_signature: RecordBasedRepository.applyMigration(I id, Migration<I, T, S> migration)
focal_class.full_signature: @SuppressWarnings("unchecked") // Checked at runtime. @Experimental public final void applyMigration(I id, Migration<I, T, S> migration)
focal_class.identifier: applyMigration
focal_class.modifiers: @SuppressWarnings("unchecked") // Checked at runtime. @Experimental public final
focal_class.parameters: (I id, Migration<I, T, S> migration)
focal_class.return: void
focal_class.signature: void applyMigration(I id, Migration<I, T, S> migration)
focal_class.class_method_signature: RecordBasedRepository.applyMigration(Set<I> ids, Migration<I, T, S> migration)
focal_class.full_signature: @SuppressWarnings("unchecked") // Checked at runtime. @Experimental public final void applyMigration(Set<I> ids, Migration<I, T, S> migration)
focal_class.identifier: applyMigration
focal_class.modifiers: @SuppressWarnings("unchecked") // Checked at runtime. @Experimental public final
focal_class.parameters: (Set<I> ids, Migration<I, T, S> migration)
focal_class.return: void
focal_class.signature: void applyMigration(Set<I> ids, Migration<I, T, S> migration)
focal_class.class_method_signature: RecordBasedRepository.createStorage()
focal_class.full_signature: @Override protected RecordStorage<I> createStorage()
focal_class.identifier: createStorage
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: RecordStorage<I>
focal_class.signature: RecordStorage<I> createStorage()
focal_class.class_method_signature: RecordBasedRepository.store(Collection<E> entities)
focal_class.full_signature: public void store(Collection<E> entities)
focal_class.identifier: store
focal_class.modifiers: public
focal_class.parameters: (Collection<E> entities)
focal_class.return: void
focal_class.signature: void store(Collection<E> entities)
focal_class.class_method_signature: RecordBasedRepository.find(I id)
focal_class.full_signature: @Override public Optional<E> find(I id)
focal_class.identifier: find
focal_class.modifiers: @Override public
focal_class.parameters: (I id)
focal_class.return: Optional<E>
focal_class.signature: Optional<E> find(I id)
focal_class.class_method_signature: RecordBasedRepository.findActive(I id)
focal_class.full_signature: public Optional<E> findActive(I id)
focal_class.identifier: findActive
focal_class.modifiers: public
focal_class.parameters: (I id)
focal_class.return: Optional<E>
focal_class.signature: Optional<E> findActive(I id)
focal_class.class_method_signature: RecordBasedRepository.findRecord(I id)
focal_class.full_signature: private Optional<EntityRecord> findRecord(I id)
focal_class.identifier: findRecord
focal_class.modifiers: private
focal_class.parameters: (I id)
focal_class.return: Optional<EntityRecord>
focal_class.signature: Optional<EntityRecord> findRecord(I id)
focal_class.class_method_signature: RecordBasedRepository.findOrCreate(I id)
focal_class.full_signature: protected E findOrCreate(I id)
focal_class.identifier: findOrCreate
focal_class.modifiers: protected
focal_class.parameters: (I id)
focal_class.return: E
focal_class.signature: E findOrCreate(I id)
focal_class.class_method_signature: RecordBasedRepository.loadAll(ResponseFormat format)
focal_class.full_signature: @VisibleForTesting public Iterator<E> loadAll(ResponseFormat format)
focal_class.identifier: loadAll
focal_class.modifiers: @VisibleForTesting public
focal_class.parameters: (ResponseFormat format)
focal_class.return: Iterator<E>
focal_class.signature: Iterator<E> loadAll(ResponseFormat format)
focal_class.class_method_signature: RecordBasedRepository.loadAll(Iterable<I> ids, FieldMask fieldMask)
focal_class.full_signature: public Iterator<E> loadAll(Iterable<I> ids, FieldMask fieldMask)
focal_class.identifier: loadAll
focal_class.modifiers: public
focal_class.parameters: (Iterable<I> ids, FieldMask fieldMask)
focal_class.return: Iterator<E>
focal_class.signature: Iterator<E> loadAll(Iterable<I> ids, FieldMask fieldMask)
focal_class.class_method_signature: RecordBasedRepository.loadAllRecords(ResponseFormat format)
focal_class.full_signature: @Internal public Iterator<EntityRecord> loadAllRecords(ResponseFormat format)
focal_class.identifier: loadAllRecords
focal_class.modifiers: @Internal public
focal_class.parameters: (ResponseFormat format)
focal_class.return: Iterator<EntityRecord>
focal_class.signature: Iterator<EntityRecord> loadAllRecords(ResponseFormat format)
focal_class.class_method_signature: RecordBasedRepository.find(TargetFilters filters, ResponseFormat format)
focal_class.full_signature: public Iterator<E> find(TargetFilters filters, ResponseFormat format)
focal_class.identifier: find
focal_class.modifiers: public
focal_class.parameters: (TargetFilters filters, ResponseFormat format)
focal_class.return: Iterator<E>
focal_class.signature: Iterator<E> find(TargetFilters filters, ResponseFormat format)
focal_class.class_method_signature: RecordBasedRepository.findRecords(TargetFilters filters, ResponseFormat format)
focal_class.full_signature: @Internal public Iterator<EntityRecord> findRecords(TargetFilters filters, ResponseFormat format)
focal_class.identifier: findRecords
focal_class.modifiers: @Internal public
focal_class.parameters: (TargetFilters filters, ResponseFormat format)
focal_class.return: Iterator<EntityRecord>
focal_class.signature: Iterator<EntityRecord> findRecords(TargetFilters filters, ResponseFormat format)
focal_class.class_method_signature: RecordBasedRepository.findOrThrow(I id)
focal_class.full_signature: private E findOrThrow(I id)
focal_class.identifier: findOrThrow
focal_class.modifiers: private
focal_class.parameters: (I id)
focal_class.return: E
focal_class.signature: E findOrThrow(I id)
focal_class.class_method_signature: RecordBasedRepository.delete(I id)
focal_class.full_signature: private boolean delete(I id)
focal_class.identifier: delete
focal_class.modifiers: private
focal_class.parameters: (I id)
focal_class.return: boolean
focal_class.signature: boolean delete(I id)
focal_class.class_method_signature: RecordBasedRepository.deleteAndPostEvent(I id, Signal<?, ?, ?> deletionCause)
focal_class.full_signature: private boolean deleteAndPostEvent(I id, Signal<?, ?, ?> deletionCause)
focal_class.identifier: deleteAndPostEvent
focal_class.modifiers: private
focal_class.parameters: (I id, Signal<?, ?, ?> deletionCause)
focal_class.return: boolean
focal_class.signature: boolean deleteAndPostEvent(I id, Signal<?, ?, ?> deletionCause)
focal_class.class_method_signature: RecordBasedRepository.delete(I id, Migration<I, ?, S> migration)
focal_class.full_signature: private void delete(I id, Migration<I, ?, S> migration)
focal_class.identifier: delete
focal_class.modifiers: private
focal_class.parameters: (I id, Migration<I, ?, S> migration)
focal_class.return: void
focal_class.signature: void delete(I id, Migration<I, ?, S> migration)
focal_class.class_method_signature: RecordBasedRepository.toRecord(E entity)
focal_class.full_signature: @VisibleForTesting EntityRecordWithColumns toRecord(E entity)
focal_class.identifier: toRecord
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: (E entity)
focal_class.return: EntityRecordWithColumns
focal_class.signature: EntityRecordWithColumns toRecord(E entity)
focal_class.class_method_signature: RecordBasedRepository.toEntity(EntityRecord record)
focal_class.full_signature: @OverridingMethodsMustInvokeSuper protected E toEntity(EntityRecord record)
focal_class.identifier: toEntity
focal_class.modifiers: @OverridingMethodsMustInvokeSuper protected
focal_class.parameters: (EntityRecord record)
focal_class.return: E
focal_class.signature: E toEntity(EntityRecord record)
focal_class.class_method_signature: RecordBasedRepository.checkEntityIsTransactional()
focal_class.full_signature: private void checkEntityIsTransactional()
focal_class.identifier: checkEntityIsTransactional
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkEntityIsTransactional()
focal_class.superclass: extends Repository<I, E>
focal_method.body: @OverridingMethodsMustInvokeSuper
      @Override
      public E create(I id) {
          E result = entityFactory().create(id);
          return result;
      }
focal_method.class_method_signature: RecordBasedRepository.create(I id)
focal_method.full_signature: @OverridingMethodsMustInvokeSuper @Override public E create(I id)
focal_method.identifier: create
focal_method.invocations: create entityFactory
focal_method.modifiers: @OverridingMethodsMustInvokeSuper @Override public
focal_method.parameters: (I id)
focal_method.return: E
focal_method.signature: E create(I id)