Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/MapArtifact.java @ 1513:f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
existing map project.
flys-client/trunk@3658 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 12 Jan 2012 10:46:44 +0000 |
parents | |
children | 102e472bd2a1 |
comparison
equal
deleted
inserted
replaced
1512:685bce693617 | 1513:f43862cc1e6e |
---|---|
1 package de.intevation.flys.client.shared.model; | |
2 | |
3 import java.util.List; | |
4 | |
5 | |
6 /** | |
7 * The MAP implementation of an Artifact. | |
8 * | |
9 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> | |
10 */ | |
11 public class MapArtifact extends DefaultArtifact { | |
12 | |
13 /** The name of this artifact: 'map'.*/ | |
14 public static final String NAME = "map"; | |
15 | |
16 | |
17 public MapArtifact() { | |
18 } | |
19 | |
20 | |
21 public MapArtifact(String uuid, String hash) { | |
22 super(uuid, hash); | |
23 } | |
24 | |
25 | |
26 public MapArtifact( | |
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 : |