test_class.declarator: context
test_class.modifier: private
test_class.original_string: private BoundedContext context;
test_class.type: BoundedContext
test_class.var_name: context
test_class.declarator: repository
test_class.modifier: private
test_class.original_string: private Repository<ProjectId, ProjectEntity> repository;
test_class.type: Repository<ProjectId, ProjectEntity>
test_class.var_name: repository
test_class.declarator: tenantId
test_class.modifier: private
test_class.original_string: private TenantId tenantId;
test_class.type: TenantId
test_class.var_name: tenantId
test_class.file: server/src/test/java/io/spine/server/entity/RepositoryTest.java
test_class.identifier: RepositoryTest
test_case.body: @Test
      @DisplayName("check for entity ID class")
      void checkEntityIdType() {
          assertThrows(ModelError.class, () -> new RepoForEntityWithUnsupportedId().idClass());
      }
test_case.class_method_signature: RepositoryTest.checkEntityIdType()
test_case.full_signature: @Test @DisplayName("check for entity ID class") void checkEntityIdType()
test_case.identifier: checkEntityIdType
test_case.invocations: assertThrows idClass
test_case.modifiers: @Test @DisplayName("check for entity ID class")
test_case.parameters: ()
test_case.return: void
test_case.signature: void checkEntityIdType()
focal_class.declarator: ERR_MSG_STORAGE_NOT_ASSIGNED = "Storage is not assigned."
focal_class.modifier: private static final
focal_class.original_string: private static final String ERR_MSG_STORAGE_NOT_ASSIGNED = "Storage is not assigned.";
focal_class.type: String
focal_class.var_name: ERR_MSG_STORAGE_NOT_ASSIGNED
focal_class.declarator: context
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable BoundedContext context;
focal_class.type: BoundedContext
focal_class.var_name: context
focal_class.declarator: entityClass
focal_class.modifier: private volatile @MonotonicNonNull
focal_class.original_string: private volatile @MonotonicNonNull EntityClass<E> entityClass;
focal_class.type: EntityClass<E>
focal_class.var_name: entityClass
focal_class.declarator: storage
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable Storage<I, ?, ?> storage;
focal_class.type: Storage<I, ?, ?>
focal_class.var_name: storage
focal_class.file: server/src/main/java/io/spine/server/entity/Repository.java
focal_class.identifier: Repository
focal_class.interfaces: implements ContextAware, Closeable, Logging
focal_class.class_method_signature: Repository.Repository()
focal_class.full_signature: protected  Repository()
focal_class.identifier: Repository
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.signature:  Repository()
focal_class.class_method_signature: Repository.create(I id)
focal_class.full_signature: public abstract E create(I id)
focal_class.identifier: create
focal_class.modifiers: public abstract
focal_class.parameters: (I id)
focal_class.return: E
focal_class.signature: E create(I id)
focal_class.class_method_signature: Repository.store(E obj)
focal_class.full_signature: protected abstract void store(E obj)
focal_class.identifier: store
focal_class.modifiers: protected abstract
focal_class.parameters: (E obj)
focal_class.return: void
focal_class.signature: void store(E obj)
focal_class.class_method_signature: Repository.find(I id)
focal_class.full_signature: public abstract Optional<E> find(I id)
focal_class.identifier: find
focal_class.modifiers: public abstract
focal_class.parameters: (I id)
focal_class.return: Optional<E>
focal_class.signature: Optional<E> find(I id)
focal_class.class_method_signature: Repository.iterator(Predicate<E> filter)
focal_class.full_signature: public Iterator<E> iterator(Predicate<E> filter)
focal_class.identifier: iterator
focal_class.modifiers: 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: Repository.index()
focal_class.full_signature: public Iterator<I> index()
focal_class.identifier: index
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Iterator<I>
focal_class.signature: Iterator<I> index()
focal_class.class_method_signature: Repository.entityModelClass()
focal_class.full_signature: @Internal public EntityClass<E> entityModelClass()
focal_class.identifier: entityModelClass
focal_class.modifiers: @Internal public
focal_class.parameters: ()
focal_class.return: EntityClass<E>
focal_class.signature: EntityClass<E> entityModelClass()
focal_class.class_method_signature: Repository.toModelClass(Class<E> cls)
focal_class.full_signature: @Internal protected EntityClass<E> toModelClass(Class<E> cls)
focal_class.identifier: toModelClass
focal_class.modifiers: @Internal protected
focal_class.parameters: (Class<E> cls)
focal_class.return: EntityClass<E>
focal_class.signature: EntityClass<E> toModelClass(Class<E> cls)
focal_class.class_method_signature: Repository.idClass()
focal_class.full_signature: @SuppressWarnings("unchecked") // The cast is ensured by generic parameters of the repository. public final Class<I> idClass()
focal_class.identifier: idClass
focal_class.modifiers: @SuppressWarnings("unchecked") // The cast is ensured by generic parameters of the repository. public final
focal_class.parameters: ()
focal_class.return: Class<I>
focal_class.signature: Class<I> idClass()
focal_class.class_method_signature: Repository.entityClass()
focal_class.full_signature: public final Class<E> entityClass()
focal_class.identifier: entityClass
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: Class<E>
focal_class.signature: Class<E> entityClass()
focal_class.class_method_signature: Repository.entityStateType()
focal_class.full_signature: public final TypeUrl entityStateType()
focal_class.identifier: entityStateType
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: TypeUrl
focal_class.signature: TypeUrl entityStateType()
focal_class.class_method_signature: Repository.registerWith(BoundedContext context)
focal_class.full_signature: @OverridingMethodsMustInvokeSuper @Override @Internal public void registerWith(BoundedContext context)
focal_class.identifier: registerWith
focal_class.modifiers: @OverridingMethodsMustInvokeSuper @Override @Internal public
focal_class.parameters: (BoundedContext context)
focal_class.return: void
focal_class.signature: void registerWith(BoundedContext context)
focal_class.class_method_signature: Repository.isRegistered()
focal_class.full_signature: @Override public boolean isRegistered()
focal_class.identifier: isRegistered
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isRegistered()
focal_class.class_method_signature: Repository.isTypeSupplier()
focal_class.full_signature: @Internal protected boolean isTypeSupplier()
focal_class.identifier: isTypeSupplier
focal_class.modifiers: @Internal protected
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isTypeSupplier()
focal_class.class_method_signature: Repository.hasContext()
focal_class.full_signature: protected final boolean hasContext()
focal_class.identifier: hasContext
focal_class.modifiers: protected final
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasContext()
focal_class.class_method_signature: Repository.context()
focal_class.full_signature: protected final BoundedContext context()
focal_class.identifier: context
focal_class.modifiers: protected final
focal_class.parameters: ()
focal_class.return: BoundedContext
focal_class.signature: BoundedContext context()
focal_class.class_method_signature: Repository.onRegistered()
focal_class.full_signature: @SuppressWarnings("NoopMethodInAbstractClass") // see Javadoc @OverridingMethodsMustInvokeSuper public void onRegistered()
focal_class.identifier: onRegistered
focal_class.modifiers: @SuppressWarnings("NoopMethodInAbstractClass") // see Javadoc @OverridingMethodsMustInvokeSuper public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onRegistered()
focal_class.class_method_signature: Repository.open()
focal_class.full_signature: protected final void open()
focal_class.identifier: open
focal_class.modifiers: protected final
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void open()
focal_class.class_method_signature: Repository.defaultStorageFactory()
focal_class.full_signature: @Internal protected static StorageFactory defaultStorageFactory()
focal_class.identifier: defaultStorageFactory
focal_class.modifiers: @Internal protected static
focal_class.parameters: ()
focal_class.return: StorageFactory
focal_class.signature: StorageFactory defaultStorageFactory()
focal_class.class_method_signature: Repository.storage()
focal_class.full_signature: protected final Storage<I, ?, ?> storage()
focal_class.identifier: storage
focal_class.modifiers: protected final
focal_class.parameters: ()
focal_class.return: Storage<I, ?, ?>
focal_class.signature: Storage<I, ?, ?> storage()
focal_class.class_method_signature: Repository.storageAssigned()
focal_class.full_signature: @VisibleForTesting public final boolean storageAssigned()
focal_class.identifier: storageAssigned
focal_class.modifiers: @VisibleForTesting public final
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean storageAssigned()
focal_class.class_method_signature: Repository.checkStorage(@Nullable S storage)
focal_class.full_signature: protected static S checkStorage(@Nullable S storage)
focal_class.identifier: checkStorage
focal_class.modifiers: protected static
focal_class.parameters: (@Nullable S storage)
focal_class.return: S
focal_class.signature: S checkStorage(@Nullable S storage)
focal_class.class_method_signature: Repository.createStorage()
focal_class.full_signature: protected abstract Storage<I, ?, ?> createStorage()
focal_class.identifier: createStorage
focal_class.modifiers: protected abstract
focal_class.parameters: ()
focal_class.return: Storage<I, ?, ?>
focal_class.signature: Storage<I, ?, ?> createStorage()
focal_class.class_method_signature: Repository.close()
focal_class.full_signature: @Override @OverridingMethodsMustInvokeSuper public void close()
focal_class.identifier: close
focal_class.modifiers: @Override @OverridingMethodsMustInvokeSuper public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: Repository.isOpen()
focal_class.full_signature: @Override public final boolean isOpen()
focal_class.identifier: isOpen
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isOpen()
focal_class.class_method_signature: Repository.route(Route<M, C, R> routing, SignalEnvelope<?, ?, C> envelope)
focal_class.full_signature: @Internal protected final Optional<R> route(Route<M, C, R> routing, SignalEnvelope<?, ?, C> envelope)
focal_class.identifier: route
focal_class.modifiers: @Internal protected final
focal_class.parameters: (Route<M, C, R> routing, SignalEnvelope<?, ?, C> envelope)
focal_class.return: Optional<R>
focal_class.signature: Optional<R> route(Route<M, C, R> routing, SignalEnvelope<?, ?, C> envelope)
focal_class.class_method_signature: Repository.checkMatchesIdType(Object result)
focal_class.full_signature: private void checkMatchesIdType(Object result)
focal_class.identifier: checkMatchesIdType
focal_class.modifiers: private
focal_class.parameters: (Object result)
focal_class.return: void
focal_class.signature: void checkMatchesIdType(Object result)
focal_class.class_method_signature: Repository.onRoutingFailed(SignalEnvelope<?, ?, ?> envelope, Throwable cause)
focal_class.full_signature: @OverridingMethodsMustInvokeSuper @Internal protected void onRoutingFailed(SignalEnvelope<?, ?, ?> envelope, Throwable cause)
focal_class.identifier: onRoutingFailed
focal_class.modifiers: @OverridingMethodsMustInvokeSuper @Internal protected
focal_class.parameters: (SignalEnvelope<?, ?, ?> envelope, Throwable cause)
focal_class.return: void
focal_class.signature: void onRoutingFailed(SignalEnvelope<?, ?, ?> envelope, Throwable cause)
focal_class.class_method_signature: Repository.lifecycleOf(I id)
focal_class.full_signature: @Internal public EntityLifecycle lifecycleOf(I id)
focal_class.identifier: lifecycleOf
focal_class.modifiers: @Internal public
focal_class.parameters: (I id)
focal_class.return: EntityLifecycle
focal_class.signature: EntityLifecycle lifecycleOf(I id)
focal_class.class_method_signature: Repository.eventFilter()
focal_class.full_signature: @SPI @Pure public EventFilter eventFilter()
focal_class.identifier: eventFilter
focal_class.modifiers: @SPI @Pure public
focal_class.parameters: ()
focal_class.return: EventFilter
focal_class.signature: EventFilter eventFilter()
focal_method.body: @SuppressWarnings("unchecked") // The cast is ensured by generic parameters of the repository.
      public final Class<I> idClass() {
          return (Class<I>) entityModelClass().idClass();
      }
focal_method.class_method_signature: Repository.idClass()
focal_method.full_signature: @SuppressWarnings("unchecked") // The cast is ensured by generic parameters of the repository. public final Class<I> idClass()
focal_method.identifier: idClass
focal_method.invocations: idClass entityModelClass
focal_method.modifiers: @SuppressWarnings("unchecked") // The cast is ensured by generic parameters of the repository. public final
focal_method.parameters: ()
focal_method.return: Class<I>
focal_method.signature: Class<I> idClass()