comparison flys-backend/src/main/java/de/intevation/flys/model/TimeInterval.java @ 486:8ea09ec7f0c8

Importer: Attach a time interval to a discharge table if we find one during import. flys-backend/trunk@1813 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 03 May 2011 17:34:52 +0000
parents 605320b7df94
children
comparison
equal deleted inserted replaced
485:6b231041dc18 486:8ea09ec7f0c8
20 private Integer id; 20 private Integer id;
21 private Date startTime; 21 private Date startTime;
22 private Date stopTime; 22 private Date stopTime;
23 23
24 public TimeInterval() { 24 public TimeInterval() {
25 }
26
27 public TimeInterval(Date startTime, Date stopTime) {
28 this.startTime = startTime;
29 this.stopTime = stopTime;
25 } 30 }
26 31
27 @Id 32 @Id
28 @SequenceGenerator( 33 @SequenceGenerator(
29 name = "SEQUENCE_TIME_INTERVALS_ID_SEQ", 34 name = "SEQUENCE_TIME_INTERVALS_ID_SEQ",

http://dive4elements.wald.intevation.org