view flys-client/src/main/java/de/intevation/flys/client/shared/model/DataItem.java @ 12:fa0aad20af53

Adjusted interfaces used for the ArtifactDescription and added default implementations. flys-client/trunk@1321 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 17 Feb 2011 08:31:33 +0000
parents 9cb3ee7ed8ba
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