# HG changeset patch # User Felix Wolfsteller # Date 1348750389 0 # Node ID 3825aad9fb41baf145f9c00dcb6389409ec75e11 # Parent 323063c0f7a0408de0e76cb34cbe3332b9dbf439 Documentation (d o c u m e n t a t i o n). flys-backend/trunk@5616 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 323063c0f7a0 -r 3825aad9fb41 flys-backend/ChangeLog --- a/flys-backend/ChangeLog Thu Sep 27 11:16:20 2012 +0000 +++ b/flys-backend/ChangeLog Thu Sep 27 12:53:09 2012 +0000 @@ -1,3 +1,13 @@ +2012-09-27 Felix Wolfsteller + + * src/main/java/de/intevation/flys/importer/ImportBedHeightEpoch.java: + Doc. + +2012-09-27 Felix Wolfsteller + + * src/main/java/de/intevation/flys/importer/parsers/BedHeightSingleParser.java: + Removed debug output. + 2012-09-27 Felix Wolfsteller * src/main/java/de/intevation/flys/importer/parsers/BedHeightSingleParser.java: diff -r 323063c0f7a0 -r 3825aad9fb41 flys-backend/src/main/java/de/intevation/flys/importer/ImportBedHeightEpoch.java --- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportBedHeightEpoch.java Thu Sep 27 11:16:20 2012 +0000 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportBedHeightEpoch.java Thu Sep 27 12:53:09 2012 +0000 @@ -16,11 +16,15 @@ import de.intevation.flys.model.TimeInterval; +/** Import Bed Height Data, 'epoch' type from csv file. */ public class ImportBedHeightEpoch implements ImportBedHeight { + /** Private logger. */ private static Logger log = Logger.getLogger(ImportBedHeightEpoch.class); protected String evaluationBy; + + /** De facto the file name. */ protected String description; protected ImportTimeInterval timeInterval; @@ -69,18 +73,24 @@ this.oldElevationModel = oldElevationModel; } + /** Does nothing. */ public void setYear(int year) { // do nothing } + /** Does nothing. */ public void setSoundingWidth(int soundingWidth) { // do nothing } + + /** Does nothing. */ public void setLocationSystem(ImportLocationSystem locationSystem) { // do nothing } + + /** Does nothing. */ public void setType(ImportBedHeightType type) { // do nothing } @@ -117,6 +127,11 @@ session.flush(); } + /** + * Asserts all dependent entities (ElevationModel, TimeInterval, Range, + * BedHeighEpoch) are in db and returns bound (either newly created or + * freshly fetched) BedHeightEpoch. + */ @Override public BedHeightEpoch getPeer(River river) { if (peer == null) {