Mercurial > dive4elements > river
comparison flys-client/src/main/java/org/dive4elements/river/client/shared/model/Artifact.java @ 5834:f507086aa94b
Repaired internal references.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 12:31:32 +0200 |
parents | flys-client/src/main/java/de/intevation/flys/client/shared/model/Artifact.java@6b5920c7ea6e |
children | 821a02bbfb4e |
comparison
equal
deleted
inserted
replaced
5833:a2bdc0f524e8 | 5834:f507086aa94b |
---|---|
1 package de.intevation.flys.client.shared.model; | |
2 | |
3 import java.io.Serializable; | |
4 import java.util.List; | |
5 | |
6 | |
7 /** | |
8 * This class represents an artifact for the client. It contains the necessary | |
9 * information for the client and the communication with the artifact server. | |
10 * | |
11 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
12 */ | |
13 public interface Artifact extends Serializable { | |
14 | |
15 /** | |
16 * Returns the UUID of the artifact. | |
17 * | |
18 * @return the UUID. | |
19 */ | |
20 public String getUuid(); | |
21 | |
22 | |
23 /** | |
24 * Returns the hash of the artifact. | |
25 * | |
26 * @return the hash. | |
27 */ | |
28 public String getHash(); | |
29 | |
30 | |
31 /** | |
32 * Returns the name of the artifact. | |
33 * This happens to be the factory name, too. | |
34 * | |
35 * @return the name. | |
36 */ | |
37 public String getName(); | |
38 | |
39 /** | |
40 * Returns the ArtifactDescription. | |
41 * | |
42 * @return the artifact description. | |
43 */ | |
44 public ArtifactDescription getArtifactDescription(); | |
45 | |
46 | |
47 /** | |
48 * Returns true, if the Artifact is in Background mode. | |
49 * | |
50 * @return true, if the artifact is in background mode. | |
51 */ | |
52 public boolean isInBackground(); | |
53 | |
54 | |
55 /** | |
56 * Return a list of background messages. | |
57 * | |
58 * @return a list of background messages. | |
59 */ | |
60 public List<CalculationMessage> getBackgroundMessages(); | |
61 | |
62 | |
63 /** | |
64 * Sets a new ArtifactDescription. | |
65 * | |
66 * @param artifactDescription The new artifact description. | |
67 */ | |
68 public void setArtifactDescription(ArtifactDescription artifactDescription); | |
69 } | |
70 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |