class TimerResource implements Resource {

	@GET
	@Path("timers")
	@Produces(MediaType.APPLICATION_JSON)
	public List<Timer> getAllTimers() {
		List<Timer> timerList = this.logic.getAllTimers();
		for (Timer t : timerList) {
			t.setLink(createTimerPath(t.getId()));
		}
		return this.logic.getAllTimers();
	}

}