Class AbstractRepository

java.lang.Object
kieker.model.repository.AbstractRepository
Direct Known Subclasses:
AllocationComponentOperationPairFactory, AllocationRepository, AssemblyComponentOperationPairFactory, AssemblyRepository, ExecutionEnvironmentRepository, OperationRepository, SystemModelRepository, TypeRepository

public abstract class AbstractRepository extends Object
Since:
1.1
Author:
Andre van Hoorn
  • Field Details

    • ROOT_ELEMENT_ID

      public static final int ROOT_ELEMENT_ID
      This constant represents the ID of the root element.
      See Also:
  • Constructor Details

    • AbstractRepository

      public AbstractRepository(SystemModelRepository systemFactory)
      Creates a new instance of this class using the given parameters.
      Parameters:
      systemFactory - The system factory.
  • Method Details

    • getAndIncrementNextId

      protected final int getAndIncrementNextId()
      This method delivers the next ID and increments the ID counter atomically.
      Returns:
      The next ID.
    • getSystemFactory

      protected final SystemModelRepository getSystemFactory()