Package org.palladiosimulator.edp2.dao
Interface MeasurementsDaoRegistry
- All Known Implementing Classes:
MeasurementsDaoRegistryImpl
public interface MeasurementsDaoRegistry
Registry for all existing DAOs.
-
Method Summary
Modifier and TypeMethodDescriptionvoidderegister(String uuid) Deregisters an registered DAO.MeasurementsDao<?,?> getMeasurementsDao(String uuid) Returns a registered DAO.Returns the registered UUIDs.booleanisRegistered(String uuid) Checks if a DAO is registered for the UUID.voidregister(MeasurementsDao<?, ?> dao, String uuid) Registers a new DAO.
-
Method Details
-
register
Registers a new DAO.- Parameters:
dao- The DAO to register.uuid- The UUID for which the DAO is responsible.
-
deregister
Deregisters an registered DAO.- Parameters:
uuid- The UUID of the registered DAO.
-
isRegistered
Checks if a DAO is registered for the UUID.- Parameters:
uuid- The UUID of the DAO.- Returns:
trueif there is a DAO registered.
-
getRegisteredUuids
Returns the registered UUIDs.- Returns:
- List with all registered UUIDs.
-
getMeasurementsDao
Returns a registered DAO.- Parameters:
uuid- The UUID of the DAO.- Returns:
- The DAO.
-