Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/ChartArtifact.java @ 1530:f1f0e9c75026
Added new artifact to be able to open existing 'new chart' projects.
flys-client/trunk@3737 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 20 Jan 2012 09:25:00 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1529:e91f87b2524e | 1530:f1f0e9c75026 |
---|---|
1 package de.intevation.flys.client.shared.model; | |
2 | |
3 import java.util.List; | |
4 | |
5 | |
6 /** | |
7 * The Chart implementation of an Artifact. | |
8 * | |
9 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> | |
10 */ | |
11 public class ChartArtifact extends DefaultArtifact { | |
12 | |
13 /** The name of this artifact: 'new_chart'.*/ | |
14 public static final String NAME = "new_chart"; | |
15 | |
16 | |
17 public ChartArtifact() { | |
18 } | |
19 | |
20 | |
21 public ChartArtifact(String uuid, String hash) { | |
22 super(uuid, hash); | |
23 } | |
24 | |
25 | |
26 public ChartArtifact( | |
27 String uuid, | |
28 String hash, | |
29 boolean inBackground, | |
30 List<CalculationMessage> messages | |
31 ) { | |
32 super(uuid, hash, inBackground, messages); | |
33 } | |
34 | |
35 | |
36 public String getName() { | |
37 return NAME; | |
38 } | |
39 } | |
40 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |