Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/model/query/QueryFilter.java @ 302:71284b42ba39
Added label attribute to the QueryFilter
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 16 Aug 2013 12:27:43 +0200 |
parents | b196ef9d8645 |
children | 567ce7697fc7 |
comparison
equal
deleted
inserted
replaced
301:665370cb9d09 | 302:71284b42ba39 |
---|---|
3 | 3 |
4 public class QueryFilter | 4 public class QueryFilter |
5 { | 5 { |
6 private String dataIndex; | 6 private String dataIndex; |
7 private String type; | 7 private String type; |
8 private String label; | |
8 | 9 |
9 public QueryFilter() { | 10 public QueryFilter() { |
10 } | 11 } |
11 | 12 |
12 public QueryFilter(String dataIndex, String type) { | 13 public QueryFilter(String dataIndex, String type, String label) { |
13 this.dataIndex = dataIndex; | 14 this.dataIndex = dataIndex; |
14 this.type = type; | 15 this.type = type; |
16 this.label = label; | |
15 } | 17 } |
16 | 18 |
17 public String getDataIndex() { | 19 public String getDataIndex() { |
18 return dataIndex; | 20 return dataIndex; |
19 } | 21 } |
27 } | 29 } |
28 | 30 |
29 public void setType(String type) { | 31 public void setType(String type) { |
30 this.type = type; | 32 this.type = type; |
31 } | 33 } |
34 | |
35 public String getLabel() { | |
36 return label; | |
37 } | |
38 | |
39 public void setLabel(String label) { | |
40 this.label = label; | |
41 } | |
32 } | 42 } |