comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DataItem.java @ 8:9cb3ee7ed8ba

Added interfaces for Artifacts, its ArtifactDescription and Data. flys-client/trunk@1316 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 11 Feb 2011 13:48:17 +0000
parents
children fa0aad20af53
comparison
equal deleted inserted replaced
7:a65793e08245 8:9cb3ee7ed8ba
1 package de.intevation.flys.client.shared.model;
2
3
4 /**
5 * A DataItem represents a concrete item that might be selected, chosen or
6 * inserted by the user.
7 *
8 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
9 */
10 public interface DataItem {
11
12 /**
13 * Returns the label of the item.
14 *
15 * @return the label.
16 */
17 public String getLabel();
18
19
20 /**
21 * Returns the description of the item.
22 *
23 * @return the description;
24 */
25 public String getDescription();
26
27
28 /**
29 * Returns the value of the item.
30 *
31 * @return the value.
32 */
33 public Object getValue();
34 }
35 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org