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 describes some methods to set and retrieve a min-max value ingo@809: * pair with a specific name. sascha@835: * sascha@780: * @author Tim Englich tim@335: */ tim@335: public interface MinMaxDescribeData extends DescribeData { tim@335: ingo@809: /** ingo@809: * Returns the min value stored in this object. ingo@809: * ingo@809: * @return the min value. ingo@809: */ tim@335: public Object getMinValue(); tim@335: ingo@809: /** ingo@809: * Returns the max value stored in this object. ingo@809: * ingo@809: * @return the max value. ingo@809: */ tim@335: public Object getMaxValue(); tim@335: ingo@809: /** ingo@809: * Sets the min value in this object. ingo@809: * ingo@809: * @param minValue A new min value. ingo@809: */ tim@335: public void setMinValue(Object minValue); tim@335: ingo@809: /** ingo@809: * Sets the max value in this object. ingo@809: * ingo@809: * @param maxValue A new max value. ingo@809: */ tim@335: public void setMaxValue(Object maxValue); tim@335: ingo@809: /** ingo@809: * Returns the general name of this object. ingo@809: * ingo@809: * @return the name. ingo@809: */ tim@335: public String getName(); sascha@778: ingo@809: /** ingo@809: * Returns the name of the min value. ingo@809: * ingo@809: * @return the name of the min value. ingo@809: */ tim@335: public String getMinName(); tim@335: ingo@809: /** ingo@809: * Returns the name of this max value. ingo@809: * ingo@809: * @return the name of the max value. ingo@809: */ tim@335: public String getMaxName(); tim@335: ingo@809: /** ingo@809: * Returns the state this object 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 :