01: package com.calipso.reportgenerator.reportmanager;
02:
03: import com.calipso.reportgenerator.common.ReportQuery;
04: import com.calipso.reportgenerator.common.HeaderTableModel;
05:
06: import java.util.Vector;
07: import java.io.Serializable;
08:
09: /**
10: *
11: * User: soliveri
12: * Date: Nov 28, 2003
13: * Time: 12:42:25 PM
14: *
15: */
16:
17: public class ExecutedQuery implements Serializable {
18:
19: private ReportQuery query;
20: private HeaderTableModel rowsModel;
21: private HeaderTableModel columnsModel;
22: private Vector dataVector;
23: private boolean initialExecutedQuery;
24:
25: public ExecutedQuery(ReportQuery query, HeaderTableModel rowsModel,
26: HeaderTableModel columnsModel, Vector dataVector,
27: boolean initialExecutedQuery) {
28: this .query = query;
29: this .rowsModel = rowsModel;
30: this .columnsModel = columnsModel;
31: this .dataVector = dataVector;
32: this .initialExecutedQuery = initialExecutedQuery;
33: }
34:
35: public ReportQuery getQuery() {
36: return query;
37: }
38:
39: public void setQuery(ReportQuery query) {
40: this .query = query;
41: }
42:
43: public HeaderTableModel getRowsModel() {
44: return rowsModel;
45: }
46:
47: public void setRowsModel(HeaderTableModel rowsModel) {
48: this .rowsModel = rowsModel;
49: }
50:
51: public HeaderTableModel getColumnsModel() {
52: return columnsModel;
53: }
54:
55: public void setColumnsModel(HeaderTableModel columnsModel) {
56: this .columnsModel = columnsModel;
57: }
58:
59: public Vector getDataVector() {
60: return dataVector;
61: }
62:
63: public void setDataVector(Vector dataVector) {
64: this .dataVector = dataVector;
65: }
66:
67: public boolean isInitialExecutedQuery() {
68: return initialExecutedQuery;
69: }
70:
71: public void setInitialExecutedQuery(boolean initialExecutedQuery) {
72: this.initialExecutedQuery = initialExecutedQuery;
73: }
74: }
|