Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/Artifact.java @ 10:fc616c192902
Modified the Artifact interface and added a DefaultArtifact implementation.
flys-client/trunk@1319 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 16 Feb 2011 15:35:17 +0000 |
parents | 9cb3ee7ed8ba |
children | 7f7f6d2c4b2c |
comparison
equal
deleted
inserted
replaced
9:8facd8545a12 | 10:fc616c192902 |
---|---|
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 * This class represents an artifact for the client. It contains the necessary | 7 * This class represents an artifact for the client. It contains the necessary |
6 * information for the client and the communication with the artifact server. | 8 * information for the client and the communication with the artifact server. |
7 * | 9 * |
8 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 10 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
9 */ | 11 */ |
10 public interface Artifact { | 12 public interface Artifact extends Serializable { |
11 | 13 |
12 /** | 14 /** |
13 * Returns the UUID of the artifact. | 15 * Returns the UUID of the artifact. |
14 * | 16 * |
15 * @return the UUID. | 17 * @return the UUID. |
28 /** | 30 /** |
29 * Returns the ArtifactDescription. | 31 * Returns the ArtifactDescription. |
30 * | 32 * |
31 * @return the artifact description. | 33 * @return the artifact description. |
32 */ | 34 */ |
33 public ArtifactDescription getDescription(); | 35 public ArtifactDescription getArtifactDescription(); |
34 | 36 |
35 | 37 |
36 /** | 38 /** |
37 * Sets a new ArtifactDescription. | 39 * Sets a new ArtifactDescription. |
38 * | 40 * |