Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/WQInfoObjectImpl.java @ 6371:19459037b3c7
GWT client: Display official lines in helper panels.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Wed, 19 Jun 2013 15:03:05 +0200 |
parents | ea9eef426962 |
children | 19a133698eaf |
comparison
equal
deleted
inserted
replaced
6368:791c7492b4ee | 6371:19459037b3c7 |
---|---|
18 | 18 |
19 protected String type; | 19 protected String type; |
20 | 20 |
21 protected Double value; | 21 protected Double value; |
22 | 22 |
23 protected boolean isOfficial; | |
24 | |
23 | 25 |
24 public WQInfoObjectImpl() { | 26 public WQInfoObjectImpl() { |
25 } | 27 } |
26 | 28 |
27 | 29 |
28 public WQInfoObjectImpl( | 30 public WQInfoObjectImpl( |
29 String name, | 31 String name, |
30 String type, | 32 String type, |
31 Double value) | 33 Double value, |
32 { | 34 boolean isOfficial |
35 ) { | |
33 this.name = name; | 36 this.name = name; |
34 this.type = type; | 37 this.type = type; |
35 this.value = value; | 38 this.value = value; |
39 this.isOfficial = isOfficial; | |
36 } | 40 } |
37 | 41 |
38 | 42 |
43 @Override | |
39 public String getName() { | 44 public String getName() { |
40 return name; | 45 return name; |
41 } | 46 } |
42 | 47 |
43 | 48 |
49 @Override | |
44 public String getType() { | 50 public String getType() { |
45 return type; | 51 return type; |
46 } | 52 } |
47 | 53 |
48 | 54 |
55 @Override | |
49 public Double getValue() { | 56 public Double getValue() { |
50 return value; | 57 return value; |
51 } | 58 } |
59 | |
60 @Override | |
61 public boolean isOfficial() { | |
62 return isOfficial; | |
63 } | |
52 } | 64 } |
53 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 65 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |