Mercurial > dive4elements > gnv-client
diff 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 |
line wrap: on
line diff
--- a/gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java Thu Jun 10 22:01:23 2010 +0000 +++ b/gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java Fri Jun 11 08:08:33 2010 +0000 @@ -33,6 +33,11 @@ * The Bbox which surrounds the data of the Mapservice */ private String bbox = null; + + /** + * The time until the server will provide the data. + */ + private String ttl = null; /** * Constructor @@ -59,11 +64,13 @@ * @param type the type of this mapservice * @param url the URl of this mapservice * @param bbox the Bbox which surrounds the data of the Mapservice + * @param ttl the time until the server will provide the data. */ public DefaultMapService(String id, Collection<Layer> layer, - String type, String url, String bbox) { + String type, String url, String bbox, String ttl) { this(id,layer,type,url); this.bbox = bbox; + this.ttl = ttl; } @@ -89,5 +96,8 @@ public String getBBoxValue() { return this.bbox; } + public String getTtl() { + return this.ttl; +} } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :