diff gnv-artifacts/src/main/java/de/intevation/gnv/state/MinMaxState.java @ 473:a6a33ef35809

Added support to step back to previous states. Add state names to xform nodes in describe document and append old targets to list of reachable targets. gnv-artifacts/trunk@539 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 13 Jan 2010 23:10:56 +0000
parents b7bb66440cc8
children 292fbcd5e9ac
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/MinMaxState.java	Wed Jan 13 18:58:26 2010 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/MinMaxState.java	Wed Jan 13 23:10:56 2010 +0000
@@ -49,9 +49,11 @@
         if (result != null && result.size() == 1) {
             
             Result value = result.iterator().next();
-            DescribeData values = new DefaultMinMaxDescribeData(this.dataName, 
-                                                               value.getObject("MIN"), 
-                                                               value.getObject("MAX"));
+            DescribeData values = new DefaultMinMaxDescribeData(
+                dataName, 
+                value.getObject("MIN"), 
+                value.getObject("MAX"),
+                getID());
             log.debug(values.toString());
             describeData.add(values);
         } else {

http://dive4elements.wald.intevation.org