ingo@1115: /* ingo@1115: * Copyright (c) 2010 by Intevation GmbH ingo@1115: * ingo@1115: * This program is free software under the LGPL (>=v2.1) ingo@1115: * Read the file LGPL.txt coming with the software for details ingo@1115: * or visit http://www.gnu.org/licenses/ if it does not exist. ingo@1115: */ ingo@1115: tim@335: package de.intevation.gnv.state.describedata; tim@335: tim@335: /** ingo@809: * This interface defines some methods to store and retrieve key-value pairs. ingo@809: * sascha@780: * @author Tim Englich tim@335: */ tim@335: public interface SingleValueDescribeData extends DescribeData { tim@335: ingo@809: /** ingo@809: * Returns the name of this object. ingo@809: * ingo@809: * @return the name. ingo@809: */ tim@335: public String getName(); tim@335: ingo@809: /** ingo@809: * Returns the value stored in this object. ingo@809: * ingo@809: * @return the value. ingo@809: */ tim@335: public String getValue(); sascha@778: ingo@809: /** ingo@809: * Sets the value of this object to value. ingo@809: * ingo@809: * @param value A new value. ingo@809: */ tim@335: public void setValue(String value); ingo@473: ingo@809: /** ingo@809: * Returns the state this objects belongs to. ingo@809: * ingo@809: * @return the state. ingo@809: */ ingo@473: public String getState(); tim@335: } sascha@836: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :