comparison artifacts/src/main/java/org/dive4elements/river/artifacts/bundu/BunduResultType.java @ 9452:af163ce96eb4

pdf export result 3 miss vol
author gernotbelger
date Thu, 23 Aug 2018 11:01:54 +0200
parents 7e1fb8d0cb0d
children 9e471031cc1e
comparison
equal deleted inserted replaced
9450:7e1fb8d0cb0d 9452:af163ce96eb4
125 protected NumberFormat createFormatter(final CallContext context) { 125 protected NumberFormat createFormatter(final CallContext context) {
126 return Formatter.getIntegerFormatter(context); 126 return Formatter.getIntegerFormatter(context);
127 } 127 }
128 }; 128 };
129 129
130 public static final BunduResultType missMassTotal = new BunduResultType(I18NStrings.UNIT_TON, "bundu.export.bezugswst.csv.meta.miss.mass.total", 130 public static final BunduResultType missMassTotal = new BunduResultType(I18NStrings.UNIT_TON, "bundu.export.bezugswst.csv.meta.miss.mass.total") {
131 "bundu.export.bezugswst.csv.meta.miss.mass") {
132 private static final long serialVersionUID = 1L; 131 private static final long serialVersionUID = 1L;
133 132
134 @Override 133 @Override
135 public String exportValue(final CallContext context, final Object value) { 134 public String exportValue(final CallContext context, final Object value) {
136 final double doubleValue = asDouble(value); 135 final double doubleValue = asDouble(value);
402 protected NumberFormat createFormatter(final CallContext context) { 401 protected NumberFormat createFormatter(final CallContext context) {
403 return Formatter.getMassFormat(context); 402 return Formatter.getMassFormat(context);
404 } 403 }
405 }; 404 };
406 405
407 public static final BunduResultType missStationRangeFrom = new BunduResultType(I18NStrings.UNIT_KM, "bundu.export.bezugswst.csv.meta.miss.mass.km_from") { 406 public static final BunduResultType missStationRangeFrom = new BunduResultType(I18NStrings.UNIT_KM, "bundu.export.bezugswst.csv.meta.miss.km_from") {
408 407
409 private static final long serialVersionUID = 1L; 408 private static final long serialVersionUID = 1L;
410 409
411 @Override 410 @Override
412 public String exportValue(final CallContext context, final Object value) { 411 public String exportValue(final CallContext context, final Object value) {
418 protected NumberFormat createFormatter(final CallContext context) { 417 protected NumberFormat createFormatter(final CallContext context) {
419 return Formatter.getWaterlevelKM(context); 418 return Formatter.getWaterlevelKM(context);
420 } 419 }
421 }; 420 };
422 421
423 public static final BunduResultType missStationRangeTo = new BunduResultType(I18NStrings.UNIT_KM, "bundu.export.bezugswst.csv.meta.miss.mass.km_to") { 422 public static final BunduResultType missStationRangeTo = new BunduResultType(I18NStrings.UNIT_KM, "bundu.export.bezugswst.csv.meta.miss.km_to") {
424 423
425 private static final long serialVersionUID = 1L; 424 private static final long serialVersionUID = 1L;
426 425
427 @Override 426 @Override
428 public String exportValue(final CallContext context, final Object value) { 427 public String exportValue(final CallContext context, final Object value) {

http://dive4elements.wald.intevation.org