ingo@8: package de.intevation.flys.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 :