Mercurial > dive4elements > gnv-client
annotate gnv-artifacts/src/main/java/de/intevation/gnv/wms/LayerInfo.java @ 846:8b6ef091d38c
It is possible to draw VerticalProfileCharts with just one single data point (issue229).
gnv-artifacts/trunk@962 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 21 Apr 2010 08:46:23 +0000 |
parents | 9a828e5a2390 |
children | f953c9a559d8 |
rev | line source |
---|---|
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
1 package de.intevation.gnv.wms; |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
2 |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
3 /** |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
4 * This class is used to store some meta information about a layer (e.g. a WMS |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
5 * layers). |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
6 * |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
7 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
8 */ |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
9 public class LayerInfo { |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
10 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
11 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
12 * Constant field <code>LAYER</code> |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
13 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
14 public static final String LAYER = "layer"; |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
15 |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
16 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
17 * Constant field <code>LAYER_MODEL</code> |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
18 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
19 public static final String LAYER_MODEL = "model"; |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
20 |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
21 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
22 * Constant field <code>LAYER_NAME</code> |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
23 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
24 public static final String LAYER_NAME = "name"; |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
25 |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
26 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
27 * Constant field <code>LAYER_TYPE</code> |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
28 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
29 public static final String LAYER_TYPE = "type"; |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
30 |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
31 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
32 * Constant field <code>LAYER_DATA</code> |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
33 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
34 public static final String LAYER_DATA = "data"; |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
35 |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
36 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
37 * Constant field <code>LAYER_STATUS</code> |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
38 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
39 public static final String LAYER_STATUS = "status"; |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
40 |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
41 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
42 * Constant field <code>LAYER_TITLE</code> |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
43 */ |
730
452fad121560
Implemented code for changing the title of a wms layer (issue198).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
622
diff
changeset
|
44 public static final String LAYER_TITLE = "title"; |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
45 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
46 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
47 * Field storing the layer name. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
48 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
49 private String name; |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
50 |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
51 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
52 * Field storing the layer title. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
53 */ |
730
452fad121560
Implemented code for changing the title of a wms layer (issue198).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
622
diff
changeset
|
54 private String title; |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
55 |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
56 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
57 * Field storing the layer type. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
58 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
59 private String type; |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
60 |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
61 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
62 * Field storing the layer data. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
63 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
64 private String data; |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
65 |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
66 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
67 * Field storing the layer status. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
68 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
69 private String status; |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
70 |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
71 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
72 * Field storing the layer model. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
73 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
74 private String model; |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
75 |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
76 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
77 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
78 * Constructs an empty object. All parameters should be set via setter |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
79 * methods. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
80 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
81 public LayerInfo() { |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
82 } |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
83 |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
84 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
85 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
86 * Set {@link #data} to data. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
87 * |
778
9a828e5a2390
Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
768
diff
changeset
|
88 * @param data |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
89 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
90 public void setData(String data) { |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
91 this.data = data; |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
92 } |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
93 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
94 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
95 * Get {@link #data} |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
96 * |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
97 * @return data |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
98 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
99 public String getData() { |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
100 return data; |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
101 } |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
102 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
103 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
104 * Set {@link #name} to name. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
105 * |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
106 * @param name |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
107 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
108 public void setName(String name) { |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
109 this.name = name; |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
110 } |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
111 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
112 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
113 * Get {@link #name} |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
114 * |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
115 * @return name |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
116 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
117 public String getName() { |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
118 return name; |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
119 } |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
120 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
121 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
122 * Set {@link #title} to title. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
123 * |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
124 * @param title |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
125 */ |
730
452fad121560
Implemented code for changing the title of a wms layer (issue198).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
622
diff
changeset
|
126 public void setTitle(String title) { |
452fad121560
Implemented code for changing the title of a wms layer (issue198).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
622
diff
changeset
|
127 this.title = title; |
452fad121560
Implemented code for changing the title of a wms layer (issue198).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
622
diff
changeset
|
128 } |
452fad121560
Implemented code for changing the title of a wms layer (issue198).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
622
diff
changeset
|
129 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
130 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
131 * Get {@link #title} |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
132 * |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
133 * @return title |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
134 */ |
730
452fad121560
Implemented code for changing the title of a wms layer (issue198).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
622
diff
changeset
|
135 public String getTitle() { |
452fad121560
Implemented code for changing the title of a wms layer (issue198).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
622
diff
changeset
|
136 return title; |
452fad121560
Implemented code for changing the title of a wms layer (issue198).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
622
diff
changeset
|
137 } |
452fad121560
Implemented code for changing the title of a wms layer (issue198).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
622
diff
changeset
|
138 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
139 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
140 * Set {@link #model} to model. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
141 * |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
142 * @param model |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
143 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
144 public void setModel(String model) { |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
145 this.model = model; |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
146 } |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
147 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
148 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
149 * Get {@link #model} |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
150 * |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
151 * @return model |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
152 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
153 public String getModel() { |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
154 return model; |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
155 } |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
156 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
157 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
158 * Set {@link #type} to type. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
159 * |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
160 * @param type |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
161 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
162 public void setType(String type) { |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
163 this.type = type; |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
164 } |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
165 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
166 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
167 * Get {@link #type} |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
168 * |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
169 * @return type |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
170 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
171 public String getType() { |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
172 return type; |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
173 } |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
174 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
175 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
176 * Set {@link #status} to status. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
177 * |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
178 * @param status |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
179 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
180 public void setStatus(String status) { |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
181 this.status = status; |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
182 } |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
183 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
184 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
185 * Get {@link #status} |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
186 * |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
187 * @return status |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
188 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
189 public String getStatus() { |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
190 return status; |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
191 } |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
192 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
193 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
194 * A <code>LayerInfo</code> object is emtpy if name, data, type and status |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
195 * are null. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
196 * |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
197 * @return True, if this object is empty - otherwise false. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
198 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
199 public boolean isEmpty() { |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
200 if (name == null && data == null && type == null && status == null) |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
201 return true; |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
202 |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
203 return false; |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
204 } |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
205 |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
206 /** |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
207 * A <code>LayerInfo</code> object is broken if name, data or type are null. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
208 * |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
209 * @return True, if this object is broken - otherwise false. |
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
210 */ |
622
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
211 public boolean isBroken() { |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
212 if (name == null || data == null || type == null) |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
213 return true; |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
214 |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
215 return false; |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
216 } |
89aca25642d6
Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
217 } |
768
1d23ab77fb72
Added javadoc in de.intevation.gnv.wms package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
730
diff
changeset
|
218 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |