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: } ingo@809: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :