comparison src/main/java/de/intevation/lada/model/query/QueryConfig.java @ 296:b196ef9d8645

New model classes for query configs.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 15 Aug 2013 15:18:22 +0200
parents
children 567ce7697fc7
comparison
equal deleted inserted replaced
295:512addede0ec 296:b196ef9d8645
1 package de.intevation.lada.model.query;
2
3 import java.util.List;
4
5
6 public class QueryConfig
7 {
8 int id;
9 String name;
10 String description;
11 String sql;
12 List<QueryFilter> filters;
13 List<ResultConfig> results;
14
15 public QueryConfig()
16 {
17 }
18
19 /**
20 * @return the id
21 */
22 public int getId() {
23 return id;
24 }
25
26 /**
27 * @param id the id to set
28 */
29 public void setId(int id) {
30 this.id = id;
31 }
32
33 /**
34 * @return the name
35 */
36 public String getName() {
37 return name;
38 }
39
40 /**
41 * @param name the name to set
42 */
43 public void setName(String name) {
44 this.name = name;
45 }
46
47 /**
48 * @return the description
49 */
50 public String getDescription() {
51 return description;
52 }
53
54 /**
55 * @param description the description to set
56 */
57 public void setDescription(String description) {
58 this.description = description;
59 }
60
61 /**
62 * @return the sql
63 */
64 public String getSql() {
65 return sql;
66 }
67
68 /**
69 * @param sql the sql to set
70 */
71 public void setSql(String sql) {
72 this.sql = sql;
73 }
74
75 /**
76 * @return the filter
77 */
78 public List<QueryFilter> getFilters() {
79 return filters;
80 }
81
82 /**
83 * @param filter the filter to set
84 */
85 public void setFilters(List<QueryFilter> filters) {
86 this.filters = filters;
87 }
88
89 /**
90 * @return the results
91 */
92 public List<ResultConfig> getResults() {
93 return results;
94 }
95
96 /**
97 * @param results the results to set
98 */
99 public void setResults(List<ResultConfig> results) {
100 this.results = results;
101 }
102 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)