diff 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
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/WQInfoObjectImpl.java	Tue Jun 18 17:30:28 2013 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/WQInfoObjectImpl.java	Wed Jun 19 15:03:05 2013 +0200
@@ -20,6 +20,8 @@
 
     protected Double value;
 
+    protected boolean isOfficial;
+
 
     public WQInfoObjectImpl() {
     }
@@ -28,26 +30,36 @@
     public WQInfoObjectImpl(
         String name,
         String type,
-        Double value)
-    {
+        Double value,
+        boolean isOfficial
+    ) {
         this.name  = name;
         this.type  = type;
         this.value = value;
+        this.isOfficial = isOfficial;
     }
 
 
+    @Override
     public String getName() {
         return name;
     }
 
 
+    @Override
     public String getType() {
         return type;
     }
 
 
+    @Override
     public Double getValue() {
         return value;
     }
+
+    @Override
+    public boolean isOfficial() {
+        return isOfficial;
+    }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org