Mercurial > dive4elements > gnv-client
view gnv/src/main/java/de/intevation/gnv/action/sessionmodel/DiagrammOptions.java @ 964:3549253ecd7b
Fixed some warnings which were displaied during the javadoc-generation
gnv/trunk@1108 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 18 May 2010 11:14:09 +0000 |
parents | a88fc6320cf8 |
children | c7f8a9b4b006 |
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(); } /** * Returns the Value to a given Key * @param key The key of the value that should be returned. * @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 :