# HG changeset patch # User dnt_bjoernsen # Date 1570721323 -7200 # Node ID 36d201244529ad01bac89c4d84ce4e7fed5699c3 # Parent 63bbd5e458390a18fbfa86466d51b3f0a4693428 jasperreports rename infrastructure ..type => ..group and ..part => ..type diff -r 63bbd5e45839 -r 36d201244529 artifacts/doc/conf/jasper/templates/bundu.bezugswst.result1.jrxml --- a/artifacts/doc/conf/jasper/templates/bundu.bezugswst.result1.jrxml Thu Oct 10 16:08:47 2019 +0200 +++ b/artifacts/doc/conf/jasper/templates/bundu.bezugswst.result1.jrxml Thu Oct 10 17:28:43 2019 +0200 @@ -59,7 +59,7 @@ - + diff -r 63bbd5e45839 -r 36d201244529 artifacts/doc/conf/jasper/templates/bundu.bezugswst.result3.jrxml --- a/artifacts/doc/conf/jasper/templates/bundu.bezugswst.result3.jrxml Thu Oct 10 16:08:47 2019 +0200 +++ b/artifacts/doc/conf/jasper/templates/bundu.bezugswst.result3.jrxml Thu Oct 10 17:28:43 2019 +0200 @@ -61,7 +61,7 @@ - + diff -r 63bbd5e45839 -r 36d201244529 artifacts/doc/conf/jasper/templates/sinfo.collision.detail.jrxml --- a/artifacts/doc/conf/jasper/templates/sinfo.collision.detail.jrxml Thu Oct 10 16:08:47 2019 +0200 +++ b/artifacts/doc/conf/jasper/templates/sinfo.collision.detail.jrxml Thu Oct 10 17:28:43 2019 +0200 @@ -59,7 +59,7 @@ - + diff -r 63bbd5e45839 -r 36d201244529 artifacts/doc/conf/jasper/templates/sinfo.collision.overview.jrxml --- a/artifacts/doc/conf/jasper/templates/sinfo.collision.overview.jrxml Thu Oct 10 16:08:47 2019 +0200 +++ b/artifacts/doc/conf/jasper/templates/sinfo.collision.overview.jrxml Thu Oct 10 17:28:43 2019 +0200 @@ -59,7 +59,7 @@ - + diff -r 63bbd5e45839 -r 36d201244529 artifacts/doc/conf/jasper/templates/sinfo.floodduration.jrxml --- a/artifacts/doc/conf/jasper/templates/sinfo.floodduration.jrxml Thu Oct 10 16:08:47 2019 +0200 +++ b/artifacts/doc/conf/jasper/templates/sinfo.floodduration.jrxml Thu Oct 10 17:28:43 2019 +0200 @@ -57,8 +57,8 @@ + - @@ -193,13 +193,13 @@ - + - + diff -r 63bbd5e45839 -r 36d201244529 artifacts/doc/conf/jasper/templates/sinfo.floodduration2.jrxml --- a/artifacts/doc/conf/jasper/templates/sinfo.floodduration2.jrxml Thu Oct 10 16:08:47 2019 +0200 +++ b/artifacts/doc/conf/jasper/templates/sinfo.floodduration2.jrxml Thu Oct 10 17:28:43 2019 +0200 @@ -57,8 +57,8 @@ + - @@ -193,13 +193,13 @@ - + - + diff -r 63bbd5e45839 -r 36d201244529 artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationCalculationResult.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationCalculationResult.java Thu Oct 10 16:08:47 2019 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationCalculationResult.java Thu Oct 10 17:28:43 2019 +0200 @@ -123,13 +123,13 @@ } public String getFloodHeightLabel(final CallContext context) { - return Resources.getMsg(context.getMeta(), FACET_ABSOLUTE_HEIGHT, FACET_ABSOLUTE_HEIGHT) - + " " + SInfoResultType.getInfrastructureLabel(context, this.m_group, this.m_type, this.m_riverside); + return Resources.getMsg(context.getMeta(), FACET_ABSOLUTE_HEIGHT, FACET_ABSOLUTE_HEIGHT) + " " + + SInfoResultType.getInfrastructureLabel(context, this.m_group, this.m_type, this.m_riverside); } public String getFloodDurationLabel(final CallContext context) { - return Resources.getMsg(context.getMeta(), FACET_FLOOD_DURATION_DESCRIPTION, FACET_FLOOD_DURATION_DESCRIPTION) - + " " + SInfoResultType.getInfrastructureLabel(context, this.m_group, this.m_type, this.m_riverside); + return Resources.getMsg(context.getMeta(), FACET_FLOOD_DURATION_DESCRIPTION, FACET_FLOOD_DURATION_DESCRIPTION) + " " + + SInfoResultType.getInfrastructureLabel(context, this.m_group, this.m_type, this.m_riverside); } } @@ -308,9 +308,8 @@ exportContextPDF.addJRMetadata(source, "inundationduration_header", SInfoResultType.floodDuration); exportContextPDF.addJRMetadata(source, "inundationduration_q_header", SInfoResultType.floodDischarge); exportContextPDF.addJRMetadata(source, "infrastructure_height_header", SInfoResultType.infrastructureHeight); - // FIXME Tironi: report-keys ..type => ..group und ..part => ..type umbenennen zwecks Einheitlichkeit - exportContextPDF.addJRMetadata(source, "infrastructure_type_header", SInfoResultType.infrastructuregroup); - exportContextPDF.addJRMetadata(source, "infrastructure_part_header", SInfoResultType.infrastructuretype); + exportContextPDF.addJRMetadata(source, "infrastructure_group_header", SInfoResultType.infrastructuregroup); + exportContextPDF.addJRMetadata(source, "infrastructure_type_header", SInfoResultType.infrastructuretype); for (int i = 1; i <= this.getWaterlevelCount(); i++) {