Mercurial > dive4elements > gnv-client
view gnv/src/main/java/de/intevation/gnv/action/sessionmodel/DiagrammOptions.java @ 690:254f062e334b
Added JavaDoc.
gnv/trunk@908 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 12 Apr 2010 16:45:16 +0000 |
parents | 57fa8019fbdc |
children | af22fa5567a6 |
line wrap: on
line source
package de.intevation.gnv.action.sessionmodel; import java.util.HashMap; import java.util.Map; /** * Stores key-value pairs used to save user input for changing diagram * attributes. * * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> */ public class DiagrammOptions { private Map<String, String> values = new HashMap<String, String>(); /** * Constructor */ public DiagrammOptions() { super(); } /** * @return the value. */ public String getValue(String key) { return this.values.get(key); } /** * Set a value with the given key. * * @param key The given key. * @param value The value to be stored. */ public void setValue(String key, String value) { this.values.put(key, value); } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :