1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kew.docsearch;
17
18 public class QueryComponent {
19
20 private String selectSql = "";
21 private String fromSql = "";
22 private String whereSql = "";
23
24 public QueryComponent() {
25 super();
26 }
27
28
29
30
31
32
33 public QueryComponent(String selectSql, String fromSql, String whereSql) {
34 super();
35 this.selectSql = selectSql;
36 this.fromSql = fromSql;
37 this.whereSql = whereSql;
38 }
39
40
41
42
43 public String getFromSql() {
44 return fromSql;
45 }
46
47
48
49
50 public String getSelectSql() {
51 return selectSql;
52 }
53
54
55
56
57 public String getWhereSql() {
58 return whereSql;
59 }
60
61
62
63
64 public void setFromSql(String tables) {
65 this.fromSql = tables;
66 }
67
68
69
70
71 public void setSelectSql(String sql) {
72 this.selectSql = sql;
73 }
74
75
76
77
78 public void setWhereSql(String tempSql) {
79 this.whereSql = tempSql;
80 }
81
82 }