Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java @ 402:b88e881e8e94
Added the first Implementation (not complete and not ready to use) for the Interface from the MapViewer to the GNV
gnv/trunk@573 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 19 Jan 2010 14:47:36 +0000 |
parents | |
children | 15ac78a91d1b |
comparison
equal
deleted
inserted
replaced
401:002a4d38c16d | 402:b88e881e8e94 |
---|---|
1 /** | |
2 * | |
3 */ | |
4 package de.intevation.gnv.artifactdatabase.objects.map; | |
5 | |
6 import java.util.Collection; | |
7 | |
8 /** | |
9 * @author Tim Englich <tim.englich@intevation.de> | |
10 * | |
11 */ | |
12 public class DefaultMapService implements MapService { | |
13 | |
14 private String id = null; | |
15 | |
16 | |
17 | |
18 private Collection<Layer> layer = null; | |
19 | |
20 private String type = null; | |
21 | |
22 private String url = null; | |
23 /** | |
24 * Constructor | |
25 */ | |
26 public DefaultMapService(String id, Collection<Layer> layer, | |
27 String type, String url) { | |
28 super(); | |
29 this.id = id; | |
30 this.layer = layer; | |
31 this.type = type; | |
32 this.url = url; | |
33 } | |
34 | |
35 /** | |
36 * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getID() | |
37 */ | |
38 public String getID() { | |
39 return this.id; | |
40 } | |
41 | |
42 /** | |
43 * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getLayer() | |
44 */ | |
45 public Collection<Layer> getLayer() { | |
46 return this.layer; | |
47 } | |
48 | |
49 /** | |
50 * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getType() | |
51 */ | |
52 public String getType() { | |
53 return this.type; | |
54 } | |
55 | |
56 /** | |
57 * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getURL() | |
58 */ | |
59 public String getURL() { | |
60 return this.url; | |
61 } | |
62 | |
63 } |