comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/Artifact.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 fc616c192902
comparison
equal deleted inserted replaced
7:a65793e08245 8:9cb3ee7ed8ba
1 package de.intevation.flys.client.shared.model;
2
3
4 /**
5 * This class represents an artifact for the client. It contains the necessary
6 * information for the client and the communication with the artifact server.
7 *
8 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
9 */
10 public interface Artifact {
11
12 /**
13 * Returns the UUID of the artifact.
14 *
15 * @return the UUID.
16 */
17 public String getUuid();
18
19
20 /**
21 * Returns the hash of the artifact.
22 *
23 * @return the hash.
24 */
25 public String getHash();
26
27
28 /**
29 * Returns the ArtifactDescription.
30 *
31 * @return the artifact description.
32 */
33 public ArtifactDescription getDescription();
34
35
36 /**
37 * Sets a new ArtifactDescription.
38 *
39 * @param artifactDescription The new artifact description.
40 */
41 public void setArtifactDescription(ArtifactDescription artifactDescription);
42 }
43 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org