@@ -0,0 +1,641 @@
+package ibm.smartWatch.heartRate;%0A%0Aimport java.util.Date;%0A%0Apublic class HeartRateModel implements HeartRateThreshold %7B%0A%09%0A%09Integer heartRate = new Integer(70); // initial value%0A%09Date startTime = new Date();%0A%09Date endTime = new Date();%0A%0A%09public Integer getHeartRate() %7B%0A%09%09return heartRate;%0A%09%7D%0A%0A%09public Date getStartTime() %7B%0A%09%09return startTime;%0A%09%7D%0A%0A%09public void setStartTime(Date startTime) %7B%0A%09%09this.startTime = startTime;%0A%09%7D%0A%0A%09public Date getEndTime() %7B%0A%09%09return endTime;%0A%09%7D%0A%0A%09public void setEndTime(Date endTime) %7B%0A%09%09this.endTime = endTime;%0A%09%7D%0A%0A%09public void setHeartRate(Integer currentHeartRate) %7B%0A%09%09this.heartRate = currentHeartRate;%0A%09%7D%0A%0A%7D%0A

Create HeartRateModel.java