Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/layer/LayerMetaData.java @ 1057:04967dc9c83f
The title of a layer can be changed by the user. Product 'Layer' and 'Horizontalschnitt' now use the same code path to write the meta information file. (issue198)
gnv-artifacts/trunk@1134 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 27 May 2010 16:43:00 +0000 |
parents | dfd02f8d3602 |
children | f953c9a559d8 |
comparison
equal
deleted
inserted
replaced
1056:0318fda0001e | 1057:04967dc9c83f |
---|---|
15 private String where = null; | 15 private String where = null; |
16 private String columns = null; | 16 private String columns = null; |
17 private String templateID = null; | 17 private String templateID = null; |
18 private String[] queryValues = null; | 18 private String[] queryValues = null; |
19 private String geometryWKT = null; | 19 private String geometryWKT = null; |
20 private String layertitle = null; | |
20 | 21 |
21 /** | 22 /** |
22 * Constructor | 23 * Constructor |
23 * @param table the Name of the Databasetable the Data should be fetched from. | 24 * @param table the Name of the Databasetable the Data should be fetched from. |
24 * @param geometryType the Geometrytype of the Layer | 25 * @param geometryType the Geometrytype of the Layer |
30 * @param queryValues the Values that should be used to Query the data | 31 * @param queryValues the Values that should be used to Query the data |
31 * @param geometryWKT The Geometry represented by as an WKT to Query the Data. | 32 * @param geometryWKT The Geometry represented by as an WKT to Query the Data. |
32 */ | 33 */ |
33 public LayerMetaData(String table, String geometryType, String where, | 34 public LayerMetaData(String table, String geometryType, String where, |
34 String columns, String templateID, | 35 String columns, String templateID, |
35 String[] queryValues,String geometryWKT) { | 36 String[] queryValues,String geometryWKT, |
37 String layertitle) { | |
36 super(); | 38 super(); |
37 this.table = table; | 39 this.table = table; |
38 this.geometryType = geometryType; | 40 this.geometryType = geometryType; |
39 this.where = where; | 41 this.where = where; |
40 this.columns = columns; | 42 this.columns = columns; |
41 this.templateID = templateID; | 43 this.templateID = templateID; |
42 this.queryValues = queryValues; | 44 this.queryValues = queryValues; |
43 this.geometryWKT = geometryWKT; | 45 this.geometryWKT = geometryWKT; |
46 this.layertitle = layertitle; | |
44 } | 47 } |
45 | 48 |
46 /** | 49 /** |
47 * Returns the Geometry WKT | 50 * Returns the Geometry WKT |
48 * @return the Geometry WKT | 51 * @return the Geometry WKT |
101 */ | 104 */ |
102 public String[] getQueryValues() { | 105 public String[] getQueryValues() { |
103 return queryValues; | 106 return queryValues; |
104 } | 107 } |
105 | 108 |
109 /** | |
110 * Returns the layer title. | |
111 * @return the layer title. | |
112 */ | |
113 public String getLayertitle() { | |
114 return layertitle; | |
115 } | |
116 | |
106 } | 117 } |