Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java @ 690:254f062e334b
Added JavaDoc.
gnv/trunk@908 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 12 Apr 2010 16:45:16 +0000 |
parents | 57fa8019fbdc |
children | af22fa5567a6 |
comparison
equal
deleted
inserted
replaced
689:8487581dfe3b | 690:254f062e334b |
---|---|
1 package de.intevation.gnv.artifactdatabase.objects.map; | 1 package de.intevation.gnv.artifactdatabase.objects.map; |
2 | 2 |
3 import java.util.Collection; | 3 import java.util.Collection; |
4 | 4 |
5 /** | 5 /** |
6 * The default implementation of <code>MapService</code>. | |
7 * | |
6 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> | 8 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> |
7 * | |
8 */ | 9 */ |
9 public class DefaultMapService implements MapService { | 10 public class DefaultMapService implements MapService { |
10 | 11 |
11 private String id = null; | 12 private String id = null; |
12 | |
13 | |
14 | 13 |
15 private Collection<Layer> layer = null; | 14 private Collection<Layer> layer = null; |
16 | 15 |
17 private String type = null; | 16 private String type = null; |
18 | 17 |
19 private String url = null; | 18 private String url = null; |
19 | |
20 /** | 20 /** |
21 * Constructor | 21 * Constructor |
22 */ | 22 */ |
23 public DefaultMapService(String id, Collection<Layer> layer, | 23 public DefaultMapService(String id, Collection<Layer> layer, |
24 String type, String url) { | 24 String type, String url) { |
27 this.layer = layer; | 27 this.layer = layer; |
28 this.type = type; | 28 this.type = type; |
29 this.url = url; | 29 this.url = url; |
30 } | 30 } |
31 | 31 |
32 /** | 32 |
33 * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getID() | |
34 */ | |
35 public String getID() { | 33 public String getID() { |
36 return this.id; | 34 return this.id; |
37 } | 35 } |
38 | 36 |
39 /** | 37 |
40 * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getLayer() | |
41 */ | |
42 public Collection<Layer> getLayer() { | 38 public Collection<Layer> getLayer() { |
43 return this.layer; | 39 return this.layer; |
44 } | 40 } |
45 | 41 |
46 /** | 42 |
47 * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getType() | |
48 */ | |
49 public String getType() { | 43 public String getType() { |
50 return this.type; | 44 return this.type; |
51 } | 45 } |
52 | 46 |
53 /** | 47 |
54 * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getURL() | |
55 */ | |
56 public String getURL() { | 48 public String getURL() { |
57 return this.url; | 49 return this.url; |
58 } | 50 } |
59 | |
60 } | 51 } |
52 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |