Mercurial > dive4elements > river
annotate flys-client/src/main/java/de/intevation/flys/client/shared/model/MapArtifact.java @ 5200:42bb6ff78d1b 2.9.11
Directly set the connectionInitSqls on the datasource
Somehow the factory fails to set the connectionInitSqls if
we add it to the dbcpProperties. So we now set it directly
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 08 Mar 2013 11:48:33 +0100 |
parents | 102e472bd2a1 |
children |
rev | line source |
---|---|
1513
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
1 package de.intevation.flys.client.shared.model; |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
2 |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
3 import java.util.List; |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
4 |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
5 |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
6 /** |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
7 * The MAP implementation of an Artifact. |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
8 * |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
9 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
10 */ |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
11 public class MapArtifact extends DefaultArtifact { |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
12 |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
13 /** The name of this artifact: 'map'.*/ |
1516
102e472bd2a1
Changed the visible i18n strings for module 'new map.'
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1513
diff
changeset
|
14 public static final String NAME = "new_map"; |
1513
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
15 |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
16 |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
17 public MapArtifact() { |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
18 } |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
19 |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
20 |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
21 public MapArtifact(String uuid, String hash) { |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
22 super(uuid, hash); |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
23 } |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
24 |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
25 |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
26 public MapArtifact( |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
27 String uuid, |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
28 String hash, |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
29 boolean inBackground, |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
30 List<CalculationMessage> messages |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
31 ) { |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
32 super(uuid, hash, inBackground, messages); |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
33 } |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
34 |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
35 |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
36 public String getName() { |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
37 return NAME; |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
38 } |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
39 } |
f43862cc1e6e
Added new artifact 'MapArtifact' for module 'new map'. This allows to open an
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
40 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |