Package org.palladiosimulator.edp2.dao
Interface MeasurementsDaoRegistry
- All Known Implementing Classes:
MeasurementsDaoRegistryImpl
public interface MeasurementsDaoRegistry
Registry for all existing DAOs.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deregister
(String uuid) Deregisters an registered DAO.MeasurementsDao<?,
?> getMeasurementsDao
(String uuid) Returns a registered DAO.Returns the registered UUIDs.boolean
isRegistered
(String uuid) Checks if a DAO is registered for the UUID.void
register
(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:
true
if 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.
-