changeset 614:d51d0418d027

Updated importer response item to take objects as value.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 17 Apr 2015 13:17:45 +0200
parents afaee6f0f3ec
children 3f57484e06f1
files src/main/java/de/intevation/lada/importer/ReportItem.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/importer/ReportItem.java	Thu Apr 16 17:04:09 2015 +0200
+++ b/src/main/java/de/intevation/lada/importer/ReportItem.java	Fri Apr 17 13:17:45 2015 +0200
@@ -17,7 +17,7 @@
 public class ReportItem
 {
     private String key;
-    private String value;
+    private Object value;
     private Integer code;
 
     /**
@@ -32,7 +32,7 @@
      * @param value The value caused the error/warning.
      * @param code  The code specifying the error/warning.
      */
-    public ReportItem(String key, String value, Integer code) {
+    public ReportItem(String key, Object value, Integer code) {
         this.key = key;
         this.value = value;
         this.code = code;
@@ -55,7 +55,7 @@
     /**
      * @return the value
      */
-    public String getValue() {
+    public Object getValue() {
         return value;
     }
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)