Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/Data.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 | a85bac235069 |
comparison
equal
deleted
inserted
replaced
11:6aeb4072eeb4 | 12:fa0aad20af53 |
---|---|
1 package de.intevation.flys.client.shared.model; | 1 package de.intevation.flys.client.shared.model; |
2 | |
3 import java.io.Serializable; | |
2 | 4 |
3 | 5 |
4 /** | 6 /** |
5 * A Data object represents the necessary data of a single state of the | 7 * A Data object represents the necessary data of a single state of the |
6 * artifact. It might provide several DataItems or just a single DataItem. The | 8 * artifact. It might provide several DataItems or just a single DataItem. The |
7 * <code>type</code> makes it possible to validate the input in the client. | 9 * <code>type</code> makes it possible to validate the input in the client. |
8 * | 10 * |
9 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 11 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
10 */ | 12 */ |
11 public interface Data { | 13 public interface Data extends Serializable { |
12 | 14 |
13 /** | 15 /** |
14 * Returns the label of the item. | 16 * Returns the label of the item. |
15 * | 17 * |
16 * @return the label. | 18 * @return the label. |