Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/model/query/QueryConfig.java @ 366:567ce7697fc7 0.5
Code documentation.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 10 Sep 2013 15:55:54 +0200 |
parents | b196ef9d8645 |
children | 183f8116d9a6 |
comparison
equal
deleted
inserted
replaced
365:fab80595ed55 | 366:567ce7697fc7 |
---|---|
1 package de.intevation.lada.model.query; | 1 package de.intevation.lada.model.query; |
2 | 2 |
3 import java.util.List; | 3 import java.util.List; |
4 | 4 |
5 import de.intevation.lada.model.LProbeInfo; | |
5 | 6 |
7 /** | |
8 * Container for SQL query configuration. | |
9 * | |
10 * The server can filter {@link LProbeInfo} objects by configurable SQL queries | |
11 * as described in the project wiki (<link>https://bfs-intern.intevation.de/Server/Suche</link>). | |
12 * This container is used to store the config at runtime. | |
13 * | |
14 * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> | |
15 */ | |
6 public class QueryConfig | 16 public class QueryConfig |
7 { | 17 { |
8 int id; | 18 int id; |
9 String name; | 19 String name; |
10 String description; | 20 String description; |
78 public List<QueryFilter> getFilters() { | 88 public List<QueryFilter> getFilters() { |
79 return filters; | 89 return filters; |
80 } | 90 } |
81 | 91 |
82 /** | 92 /** |
83 * @param filter the filter to set | 93 * @param filters the filter to set |
84 */ | 94 */ |
85 public void setFilters(List<QueryFilter> filters) { | 95 public void setFilters(List<QueryFilter> filters) { |
86 this.filters = filters; | 96 this.filters = filters; |
87 } | 97 } |
88 | 98 |