Mercurial > dive4elements > river
diff backend/src/main/java/org/dive4elements/river/importer/sinfo/importitem/TkhSeriesImport.java @ 9032:1f63e9d3b0ec
New columns for bed_height, tkh and depth_evolution, a few syntactic corrections for Oracle
author | mschaefer |
---|---|
date | Fri, 27 Apr 2018 17:35:12 +0200 |
parents | dcbdff96d1a8 |
children | 4c5eeaff554c |
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/sinfo/importitem/TkhSeriesImport.java Fri Apr 27 11:34:04 2018 +0200 +++ b/backend/src/main/java/org/dive4elements/river/importer/sinfo/importitem/TkhSeriesImport.java Fri Apr 27 17:35:12 2018 +0200 @@ -18,6 +18,7 @@ import org.dive4elements.river.importer.common.StoreMode; import org.dive4elements.river.model.River; import org.dive4elements.river.model.sinfo.Tkh; +import org.dive4elements.river.model.sinfo.Tkh.Group; import org.hibernate.Query; import org.hibernate.Session; @@ -38,6 +39,8 @@ */ private final String filename; + private Group group; + private String kmrange_info; private String comment; @@ -66,6 +69,14 @@ return this.filename; } + public Group getGroup() { + return this.group; + } + + public void setGroup(final Group group) { + this.group = group; + } + public String getKmrange_info() { return this.kmrange_info; } @@ -141,6 +152,6 @@ } private Tkh createSeriesItem(final River river) { - return new Tkh(river, this.filename, this.kmrange_info, this.comment, this.day, this.sounding_info, this.evaluation_by); + return new Tkh(river, this.filename, this.kmrange_info, this.comment, this.day, this.sounding_info, this.evaluation_by, this.group); } } \ No newline at end of file