# HG changeset patch # User mschaefer # Date 1570641955 -7200 # Node ID cedcee24a21a030ed7c4a6e6eaabd737f6c39583 # Parent ca492336570bfe6d4f1158f3323553ad636efb63 Nachtrag Pos. 20: group added in infrastructure importer diff -r ca492336570b -r cedcee24a21a backend/src/main/java/org/dive4elements/river/importer/sinfo/importitem/InfrastructureSeriesImport.java --- a/backend/src/main/java/org/dive4elements/river/importer/sinfo/importitem/InfrastructureSeriesImport.java Wed Oct 09 19:17:46 2019 +0200 +++ b/backend/src/main/java/org/dive4elements/river/importer/sinfo/importitem/InfrastructureSeriesImport.java Wed Oct 09 19:25:55 2019 +0200 @@ -35,6 +35,8 @@ private ImportAnnotationType type; + private ImportAnnotationType group; + private String provider; private String evaluation_by; @@ -55,6 +57,10 @@ this.type = type; } + public void setGroup(final ImportAnnotationType group) { + this.group = group; + } + public void setProvider(final String provider) { this.provider = provider; } @@ -83,6 +89,7 @@ @Override public Infrastructure createSeriesItem(final River river) { - return new Infrastructure(river, this.filename, this.kmrange_info, this.notes, this.type.getPeer(), this.year, this.provider, this.evaluation_by); + return new Infrastructure(river, this.filename, this.kmrange_info, this.notes, this.type.getPeer(), this.group.getPeer(), this.year, this.provider, + this.evaluation_by); } } \ No newline at end of file