teichmann@5861: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5861: * Software engineering by Intevation GmbH teichmann@5861: * teichmann@5993: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5861: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5993: * documentation coming with Dive4Elements River for details. teichmann@5861: */ teichmann@5861: teichmann@5835: package org.dive4elements.river.client.shared.model; ingo@8: ingo@12: import java.io.Serializable; ingo@12: ingo@8: ingo@8: /** ingo@8: * A DataItem represents a concrete item that might be selected, chosen or ingo@8: * inserted by the user. ingo@8: * ingo@8: * @author Ingo Weinzierl ingo@8: */ ingo@12: public interface DataItem extends Serializable { ingo@8: ingo@8: /** ingo@8: * Returns the label of the item. ingo@8: * ingo@8: * @return the label. ingo@8: */ ingo@8: public String getLabel(); ingo@8: ingo@8: ingo@8: /** ingo@8: * Returns the description of the item. ingo@8: * ingo@8: * @return the description; ingo@8: */ ingo@8: public String getDescription(); ingo@8: ingo@8: ingo@8: /** ingo@8: * Returns the value of the item. ingo@8: * ingo@8: * @return the value. ingo@8: */ ingo@12: public String getStringValue(); ingo@8: } ingo@8: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :