comparison flys-backend/src/main/java/de/intevation/flys/model/TimeInterval.java @ 168:86a1bd9cc50e

More Hibernate/JPA stuff flys-backend/trunk@1458 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 11 Mar 2011 14:41:18 +0000
parents 15d515fe15f5
children 4a83e14f40f9
comparison
equal deleted inserted replaced
167:15d515fe15f5 168:86a1bd9cc50e
5 import java.util.Date; 5 import java.util.Date;
6 6
7 public class TimeInterval 7 public class TimeInterval
8 implements Serializable 8 implements Serializable
9 { 9 {
10 private Long id; 10 private Integer id;
11 private Date startTime; 11 private Date startTime;
12 private Date stopTime; 12 private Date stopTime;
13 13
14 public TimeInterval() { 14 public TimeInterval() {
15 } 15 }
16 16
17 public void setId(Long id) { 17 public void setId(Integer id) {
18 this.id = id; 18 this.id = id;
19 } 19 }
20 20
21 public Long getId() { 21 public Integer getId() {
22 return id; 22 return id;
23 } 23 }
24 24
25 public void setStartTime(Date startTime) { 25 public void setStartTime(Date startTime) {
26 this.startTime = startTime; 26 this.startTime = startTime;

http://dive4elements.wald.intevation.org