Class AbstractSystemSubRepository
java.lang.Object
kieker.tools.trace.analysis.systemModel.repository.AbstractSystemSubRepository
- Direct Known Subclasses:
AllocationComponentOperationPairFactory,AllocationRepository,AssemblyComponentOperationPairFactory,AssemblyRepository,ExecutionEnvironmentRepository,OperationRepository,TypeRepository
public abstract class AbstractSystemSubRepository
extends java.lang.Object
- Since:
- 1.1
- Author:
- Andre van Hoorn
-
Field Summary
Fields Modifier and Type Field Description static intROOT_ELEMENT_IDThis constant represents the ID of the root element. -
Constructor Summary
Constructors Constructor Description AbstractSystemSubRepository(SystemModelRepository systemFactory)Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description protected intgetAndIncrementNextId()This method delivers the next ID and increments the ID counter atomically.protected SystemModelRepositorygetSystemFactory()
-
Field Details
-
ROOT_ELEMENT_ID
public static final int ROOT_ELEMENT_IDThis constant represents the ID of the root element.- See Also:
- Constant Field Values
-
-
Constructor Details
-
AbstractSystemSubRepository
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
-