Package org.palladiosimulator.edp2.dao
Interface MeasurementsDaoRegistry
-
- All Known Implementing Classes:
MeasurementsDaoRegistryImpl
public interface MeasurementsDaoRegistry
Registry for all existing DAOs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deregister(String uuid)
Deregisters an registered DAO.MeasurementsDao<?,?>
getMeasurementsDao(String uuid)
Returns a registered DAO.Set<String>
getRegisteredUuids()
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 Detail
-
register
void register(MeasurementsDao<?,?> dao, String uuid)
Registers a new DAO.- Parameters:
dao
- The DAO to register.uuid
- The UUID for which the DAO is responsible.
-
deregister
void deregister(String uuid)
Deregisters an registered DAO.- Parameters:
uuid
- The UUID of the registered DAO.
-
isRegistered
boolean isRegistered(String uuid)
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
Set<String> getRegisteredUuids()
Returns the registered UUIDs.- Returns:
- List with all registered UUIDs.
-
getMeasurementsDao
MeasurementsDao<?,?> getMeasurementsDao(String uuid)
Returns a registered DAO.- Parameters:
uuid
- The UUID of the DAO.- Returns:
- The DAO.
-
-