Mercurial > dive4elements > gnv-client
view gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultSingleValueDescribeData.java @ 638:c580666a843f
Removed CallMeta object from state which should not be serialized. Implemented a little workarround instead to save localized strings for axes descriptions of horizontal profile charts (issue180).
gnv-artifacts/trunk@721 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 02 Mar 2010 08:43:50 +0000 |
parents | a6a33ef35809 |
children | 9a828e5a2390 |
line wrap: on
line source
/** * */ package de.intevation.gnv.state.describedata; /** * @author Tim Englich <tim.englich@intevation.de> * */ public class DefaultSingleValueDescribeData implements SingleValueDescribeData { /** * */ private static final long serialVersionUID = 3580176842483316917L; private String name = null; 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, String state ) { super(); this.name = name; this.value = value; this.state = state; } /** * @see de.intevation.gnv.state.describedata.SingleValueDescribeData#getName() */ public String getName() { return this.name; } /** * @see de.intevation.gnv.state.describedata.SingleValueDescribeData#getValue() */ public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } public String getState() { return this.state; } }