changeset 7356:534850c9fabc

Minor BedHeightAccess refactoring.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 16 Oct 2013 10:33:09 +0200
parents d12478cc5bb0
children 9d3e44ab25f2
files artifacts/src/main/java/org/dive4elements/river/artifacts/access/BedHeightAccess.java
diffstat 1 files changed, 13 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/access/BedHeightAccess.java	Wed Oct 16 14:43:27 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/access/BedHeightAccess.java	Wed Oct 16 10:33:09 2013 +0200
@@ -31,7 +31,9 @@
     private int[] singleIDs;
     private int[] epochIDs;
 
-    private String time;
+    private String yearEpoch;
+
+    private Integer heightId;
 
     public BedHeightAccess(D4EArtifact artifact) {
         super(artifact);
@@ -90,10 +92,17 @@
 
 
     public String getYearEpoch() {
-        if (time == null) {
-            time =  getString("ye_select");
+        if (yearEpoch == null) {
+            yearEpoch =  getString("ye_select");
         }
-        return time;
+        return yearEpoch;
+    }
+
+    public String getYearEpoch() {
+        if (yearEpoch == null) {
+            yearEpoch =  getString("ye_select");
+        }
+        return yearEpoch;
     }
 
 

http://dive4elements.wald.intevation.org