comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/WQInfoObjectImpl.java @ 7560:56480f609a34

issue1542: WQInfoObjectImpl: Changed implementation from String to Date.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 12 Nov 2013 17:14:52 +0100
parents 19a133698eaf
children
comparison
equal deleted inserted replaced
7559:4a3f1599c0bb 7560:56480f609a34
6 * documentation coming with Dive4Elements River for details. 6 * documentation coming with Dive4Elements River for details.
7 */ 7 */
8 8
9 package org.dive4elements.river.client.shared.model; 9 package org.dive4elements.river.client.shared.model;
10 10
11 import java.util.Date;
11 12
12 /** 13 /**
13 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> 14 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
14 */ 15 */
15 public class WQInfoObjectImpl implements WQInfoObject { 16 public class WQInfoObjectImpl implements WQInfoObject {
18 19
19 protected String type; 20 protected String type;
20 21
21 protected Double value; 22 protected Double value;
22 23
23 protected String startTime; 24 Date startTime;
24 25
25 protected String stopTime; 26 Date stopTime;
26 27
27 protected boolean isOfficial; 28 protected boolean isOfficial;
28 29
29 30
30 public WQInfoObjectImpl() { 31 public WQInfoObjectImpl() {
34 public WQInfoObjectImpl( 35 public WQInfoObjectImpl(
35 String name, 36 String name,
36 String type, 37 String type,
37 Double value, 38 Double value,
38 boolean isOfficial, 39 boolean isOfficial,
39 String startTime, 40 Date startTime,
40 String stopTime 41 Date stopTime
41 ) { 42 ) {
42 this.name = name; 43 this.name = name;
43 this.type = type; 44 this.type = type;
44 this.value = value; 45 this.value = value;
45 this.isOfficial = isOfficial; 46 this.isOfficial = isOfficial;
47 this.stopTime = stopTime; 48 this.stopTime = stopTime;
48 } 49 }
49 50
50 51
51 @Override 52 @Override
52 public String getStopTime() { 53 public Date getStopTime() {
53 return stopTime; 54 return stopTime;
54 } 55 }
55 56
56 @Override 57 @Override
57 public String getStartTime() { 58 public Date getStartTime() {
58 return startTime; 59 return startTime;
59 } 60 }
60 61
61 @Override 62 @Override
62 public String getName() { 63 public String getName() {

http://dive4elements.wald.intevation.org