comparison gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/services/requestobjects/DefaultMapService.java @ 792:9b9bf42b7928

Added and repaired JavaDoc in artifacts package. gnv-artifacts/trunk@874 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 31 Mar 2010 10:52:34 +0000
parents c4156275c1e1
children feae2f9d6c6f
comparison
equal deleted inserted replaced
791:23877dd69444 792:9b9bf42b7928
1 package de.intevation.gnv.artifacts.services.requestobjects; 1 package de.intevation.gnv.artifacts.services.requestobjects;
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 * 9 *
8 */ 10 */
9 public class DefaultMapService implements MapService { 11 public class DefaultMapService implements MapService {
10 12
11 private String id = null; 13 private String id = null;
12 14
13
14
15 private Collection<Layer> layer = null; 15 private Collection<Layer> layer = null;
16 16
17 private String type = null; 17 private String type = null;
18 18
19 private String url = null; 19 private String url = null;
20
20 /** 21 /**
21 * Constructor 22 * Constructor
23 * @param id The id of this service.
24 * @param type The type of this service.
25 * @param layer The layers available in this service.
26 * @param url The url used to call this service.
22 */ 27 */
23 public DefaultMapService(String id, Collection<Layer> layer, 28 public DefaultMapService(String id, Collection<Layer> layer,
24 String type, String url) { 29 String type, String url) {
25 super(); 30 super();
26 this.id = id; 31 this.id = id;
28 this.type = type; 33 this.type = type;
29 this.url = url; 34 this.url = url;
30 } 35 }
31 36
32 /** 37 /**
33 * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getID() 38 * @return
34 */ 39 */
35 public String getID() { 40 public String getID() {
36 return this.id; 41 return this.id;
37 } 42 }
38 43
39 /** 44 /**
40 * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getLayer() 45 * @return
41 */ 46 */
42 public Collection<Layer> getLayer() { 47 public Collection<Layer> getLayer() {
43 return this.layer; 48 return this.layer;
44 } 49 }
45 50
46 /** 51 /**
47 * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getType() 52 * @return
48 */ 53 */
49 public String getType() { 54 public String getType() {
50 return this.type; 55 return this.type;
51 } 56 }
52 57
53 /** 58 /**
54 * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getURL() 59 * @return
55 */ 60 */
56 public String getURL() { 61 public String getURL() {
57 return this.url; 62 return this.url;
58 } 63 }
59 64
60 } 65 }
66 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org