Mercurial > dive4elements > gnv-client
diff gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultSingleValueDescribeData.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 | e964a3d8f7bc |
children | 9a828e5a2390 |
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultSingleValueDescribeData.java Wed Jan 13 18:58:26 2010 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultSingleValueDescribeData.java Wed Jan 13 23:10:56 2010 +0000 @@ -18,16 +18,27 @@ private String value = null; + private String state = null; + + public DefaultSingleValueDescribeData(String name, String value) { + this(name, value, null); + } + /** * Constructor * * @param name * @param value */ - public DefaultSingleValueDescribeData(String name, String value) { + public DefaultSingleValueDescribeData( + String name, + String value, + String state + ) { super(); this.name = name; this.value = value; + this.state = state; } /** @@ -48,4 +59,7 @@ this.value = value; } + public String getState() { + return this.state; + } }