comparison src/main/java/de/intevation/lada/model/query/ResultConfig.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
4 public class ResultConfig
5 {
6 String dataIndex;
7 String header;
8 Integer flex;
9 Integer width;
10
11 public ResultConfig() {
12 }
13
14 public ResultConfig(String dataIndex, String header, Integer flex, Integer width) {
15 this.dataIndex= dataIndex;
16 this.header= header;
17 this.flex = flex;
18 this.width = width;
19 }
20
21 public ResultConfig(String dataIndex, String header, Integer flex) {
22 this.dataIndex= dataIndex;
23 this.header= header;
24 this.flex = flex;
25 this.width = null;
26 }
27
28 public ResultConfig(String dataIndex, String header) {
29 this.dataIndex= dataIndex;
30 this.header= header;
31 this.flex = 0;
32 this.width = null;
33 }
34
35 /**
36 * @return the dataIndex
37 */
38 public String getDataIndex() {
39 return dataIndex;
40 }
41
42 /**
43 * @param dataIndex the dataIndex to set
44 */
45 public void setDataIndex(String dataIndex) {
46 this.dataIndex = dataIndex;
47 }
48
49 /**
50 * @return the header
51 */
52 public String getHeader() {
53 return header;
54 }
55
56 /**
57 * @param header the header to set
58 */
59 public void setHeader(String header) {
60 this.header = header;
61 }
62
63 /**
64 * @return the width
65 */
66 public Integer getWidth() {
67 return width;
68 }
69
70 /**
71 * @param width the width to set
72 */
73 public void setWidth(Integer width) {
74 this.width = width;
75 }
76
77 /**
78 * @return the flex
79 */
80 public Integer getFlex() {
81 return flex;
82 }
83
84 /**
85 * @param flex the flex to set
86 */
87 public void setFlex(Integer flex) {
88 this.flex = flex;
89 }
90 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)