comparison flys-client/src/main/java/org/dive4elements/river/client/shared/model/MapInfo.java @ 5834:f507086aa94b

Repaired internal references.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 12:31:32 +0200
parents flys-client/src/main/java/de/intevation/flys/client/shared/model/MapInfo.java@5014a84c0c7d
children 821a02bbfb4e
comparison
equal deleted inserted replaced
5833:a2bdc0f524e8 5834:f507086aa94b
1 package de.intevation.flys.client.shared.model;
2
3 import java.io.Serializable;
4
5
6 public class MapInfo implements Serializable {
7
8 private static final long serialVersionUID = 6691651180549280493L;
9
10 protected String river;
11 protected int srid;
12 protected BBox bbox;
13 protected String wmsUrl;
14 protected String wmsLayers;
15 protected String backgroundWmsUrl;
16 protected String backgroundWmsLayers;
17
18
19 public MapInfo() {
20 }
21
22
23 public MapInfo(
24 String river,
25 int srid,
26 BBox bbox,
27 String wmsUrl,
28 String wmsLayers,
29 String backgroundWmsUrl,
30 String backgroundWmsLayers)
31 {
32 this.river = river;
33 this.srid = srid;
34 this.bbox = bbox;
35 this.wmsUrl = wmsUrl;
36 this.wmsLayers = wmsLayers;
37 this.backgroundWmsUrl = backgroundWmsUrl;
38 this.backgroundWmsLayers = backgroundWmsLayers;
39 }
40
41
42 public String getRiver() {
43 return river;
44 }
45
46
47 public int getSrid() {
48 return srid;
49 }
50
51
52 public String getProjection() {
53 return "EPSG:" + srid;
54 }
55
56
57 public BBox getBBox() {
58 return bbox;
59 }
60
61
62 public String getWmsUrl() {
63 return wmsUrl;
64 }
65
66
67 public String getWmsLayers() {
68 return this.wmsLayers;
69 }
70
71
72 public String getBackgroundWmsUrl() {
73 return backgroundWmsUrl;
74 }
75
76
77 public String getBackgroundWmsLayers() {
78 return backgroundWmsLayers;
79 }
80 }
81 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org