diff flys-backend/src/main/java/de/intevation/flys/importer/ImportBedHeightSingle.java @ 2808:b57c95094b68

Finished work on parsing meta information and data specific to single bed heights files in MINFO. flys-backend/trunk@4216 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 11 Apr 2012 13:12:52 +0000
parents 33f40b23edd8
children f283212966e8
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportBedHeightSingle.java	Wed Apr 11 13:09:46 2012 +0000
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportBedHeightSingle.java	Wed Apr 11 13:12:52 2012 +0000
@@ -1,5 +1,8 @@
 package de.intevation.flys.importer;
 
+import java.util.ArrayList;
+import java.util.List;
+
 import org.apache.log4j.Logger;
 
 import de.intevation.flys.model.River;
@@ -9,12 +12,24 @@
 {
     private static Logger log = Logger.getLogger(ImportBedHeightSingle.class);
 
+    protected int year;
+    protected int soundingWidth;
 
+    protected String evaluationBy;
     protected String description;
 
+    protected ImportRange          range;
+    protected ImportBedHeightType  type;
+    protected ImportLocationSystem locationSystem;
+    protected ImportElevationModel curElevationModel;
+    protected ImportElevationModel oldElevationModel;
+
+    protected List<ImportBedHeightSingleValue> values;
+
 
     public ImportBedHeightSingle(String description) {
         this.description = description;
+        this.values      = new ArrayList<ImportBedHeightSingleValue>();
     }
 
 
@@ -23,6 +38,46 @@
     }
 
 
+    public void setYear(int year) {
+        this.year = year;
+    }
+
+    public void setSoundingWidth(int soundingWidth) {
+        this.soundingWidth = soundingWidth;
+    }
+
+    public void setEvaluationBy(String evaluationBy) {
+        this.evaluationBy = evaluationBy;
+    }
+
+    public void setDescription(String description) {
+        this.description = description;
+    }
+
+    public void setRange(ImportRange range) {
+        this.range = range;
+    }
+
+    public void setType(ImportBedHeightType type) {
+        this.type = type;
+    }
+
+    public void setLocationSystem(ImportLocationSystem locationSystem) {
+        this.locationSystem = locationSystem;
+    }
+
+    public void setCurElevationModel(ImportElevationModel curElevationModel) {
+        this.curElevationModel = curElevationModel;
+    }
+
+    public void setOldElevationModel(ImportElevationModel oldElevationModel) {
+        this.oldElevationModel = oldElevationModel;
+    }
+
+    public void addValue(ImportBedHeightSingleValue value) {
+        values.add(value);
+    }
+
     public void storeDependencies(River river) {
         log.info("Store dependencies for single: '" + getDescription() + "'");
         log.error("TODO: IMPLEMENT ME!");

http://dive4elements.wald.intevation.org