Mercurial > dive4elements > river
diff flys-backend/src/main/java/de/intevation/flys/importer/ImportGauge.java @ 185:a60edcfe5f53
Added new helper models for import.
flys-backend/trunk@1503 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 17 Mar 2011 16:12:39 +0000 |
parents | 4ab2c3bd474c |
children | bc3747a371cc |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportGauge.java Thu Mar 17 15:21:50 2011 +0000 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportGauge.java Thu Mar 17 16:12:39 2011 +0000 @@ -4,8 +4,7 @@ public class ImportGauge { - protected double from; - protected double to; + protected ImportRange range; protected File staFile; protected File atFile; @@ -13,27 +12,14 @@ public ImportGauge() { } - public ImportGauge(double from, double to, File staFile, File atFile) { - this.from = from; - this.to = to; + public ImportGauge(ImportRange range, File staFile, File atFile) { + this.range = range; this.staFile = staFile; this.atFile = atFile; } - public void setFrom(double from) { - this.from = from; - } - - public double getFrom() { - return from; - } - - public void setTo(double to) { - this.to = to; - } - - public double getTo() { - return to; + public void setRange(ImportRange range) { + this.range = range; } public void setStaFile(File staFile) {