Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java @ 994:541ff0db1b12
Added the informations about how the WMS which was published during the
Workflow to the GUI
gnv/trunk@1195 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 11 Jun 2010 08:08:33 +0000 |
parents | cfc7bd35ee0b |
children | 28a0628b11b0 |
comparison
equal
deleted
inserted
replaced
993:9b126bceb0b2 | 994:541ff0db1b12 |
---|---|
31 | 31 |
32 /** | 32 /** |
33 * The Bbox which surrounds the data of the Mapservice | 33 * The Bbox which surrounds the data of the Mapservice |
34 */ | 34 */ |
35 private String bbox = null; | 35 private String bbox = null; |
36 | |
37 /** | |
38 * The time until the server will provide the data. | |
39 */ | |
40 private String ttl = null; | |
36 | 41 |
37 /** | 42 /** |
38 * Constructor | 43 * Constructor |
39 * | 44 * |
40 * @param id the id of this mapservice | 45 * @param id the id of this mapservice |
57 * @param id the id of this mapservice | 62 * @param id the id of this mapservice |
58 * @param layer the layer which are provided by this mapservice | 63 * @param layer the layer which are provided by this mapservice |
59 * @param type the type of this mapservice | 64 * @param type the type of this mapservice |
60 * @param url the URl of this mapservice | 65 * @param url the URl of this mapservice |
61 * @param bbox the Bbox which surrounds the data of the Mapservice | 66 * @param bbox the Bbox which surrounds the data of the Mapservice |
67 * @param ttl the time until the server will provide the data. | |
62 */ | 68 */ |
63 public DefaultMapService(String id, Collection<Layer> layer, | 69 public DefaultMapService(String id, Collection<Layer> layer, |
64 String type, String url, String bbox) { | 70 String type, String url, String bbox, String ttl) { |
65 this(id,layer,type,url); | 71 this(id,layer,type,url); |
66 this.bbox = bbox; | 72 this.bbox = bbox; |
73 this.ttl = ttl; | |
67 } | 74 } |
68 | 75 |
69 | 76 |
70 public String getID() { | 77 public String getID() { |
71 return this.id; | 78 return this.id; |
87 } | 94 } |
88 | 95 |
89 public String getBBoxValue() { | 96 public String getBBoxValue() { |
90 return this.bbox; | 97 return this.bbox; |
91 } | 98 } |
99 public String getTtl() { | |
100 return this.ttl; | |
101 } | |
92 } | 102 } |
93 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 103 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |