knowing/Medmon — Issue #26: Unique identifier for Sensor/ISensor
Author: muuki88
Created: 2011-11-22 08:32:12+00:00
State: open
Labels: Database, Logic, Model

The ISensor interface and Sensor class have a 1-1 relation.

## ISensor
Implement a unique identifier strategy in an _AbstractSensor_ class
which clients should extend. This means implementing the getId()
method.

## Sensor
Add a manual generationStrategy to the @Id field of Sensor,
so the id can be set manual by the SensorService.