view flys-client/src/main/java/de/intevation/flys/client/shared/model/DataItem.java @ 4298:1f98a3a89e13

New client side service for sediment load infos. The service requests an sediment load overview and creates info objects for the received data.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 29 Oct 2012 13:13:23 +0100
parents fa0aad20af53
children
line wrap: on
line source
package de.intevation.flys.client.shared.model;

import java.io.Serializable;


/**
 * A DataItem represents a concrete item that might be selected, chosen or
 * inserted by the user.
 *
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
public interface DataItem extends Serializable {

    /**
     * Returns the label of the item.
     *
     * @return the label.
     */
    public String getLabel();


    /**
     * Returns the description of the item.
     *
     * @return the description;
     */
    public String getDescription();


    /**
     * Returns the value of the item.
     *
     * @return the value.
     */
    public String getStringValue();
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org