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