KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > calipso > reportgenerator > reportmanager > ExecutedQuery


1 package com.calipso.reportgenerator.reportmanager;
2
3 import com.calipso.reportgenerator.common.ReportQuery;
4 import com.calipso.reportgenerator.common.HeaderTableModel;
5
6 import java.util.Vector JavaDoc;
7 import java.io.Serializable JavaDoc;
8
9 /**
10  *
11  * User: soliveri
12  * Date: Nov 28, 2003
13  * Time: 12:42:25 PM
14  *
15  */

16
17 public class ExecutedQuery implements Serializable JavaDoc {
18
19   private ReportQuery query;
20   private HeaderTableModel rowsModel;
21   private HeaderTableModel columnsModel;
22   private Vector JavaDoc dataVector;
23   private boolean initialExecutedQuery;
24
25   public ExecutedQuery(ReportQuery query, HeaderTableModel rowsModel, HeaderTableModel columnsModel,
26                        Vector JavaDoc dataVector, boolean initialExecutedQuery) {
27     this.query = query;
28     this.rowsModel = rowsModel;
29     this.columnsModel = columnsModel;
30     this.dataVector = dataVector;
31     this.initialExecutedQuery = initialExecutedQuery;
32   }
33
34   public ReportQuery getQuery() {
35     return query;
36   }
37
38   public void setQuery(ReportQuery query) {
39     this.query = query;
40   }
41
42   public HeaderTableModel getRowsModel() {
43     return rowsModel;
44   }
45
46   public void setRowsModel(HeaderTableModel rowsModel) {
47     this.rowsModel = rowsModel;
48   }
49
50   public HeaderTableModel getColumnsModel() {
51     return columnsModel;
52   }
53
54   public void setColumnsModel(HeaderTableModel columnsModel) {
55     this.columnsModel = columnsModel;
56   }
57
58   public Vector JavaDoc getDataVector() {
59     return dataVector;
60   }
61
62   public void setDataVector(Vector JavaDoc dataVector) {
63     this.dataVector = dataVector;
64   }
65
66   public boolean isInitialExecutedQuery() {
67     return initialExecutedQuery;
68   }
69
70   public void setInitialExecutedQuery(boolean initialExecutedQuery) {
71     this.initialExecutedQuery = initialExecutedQuery;
72   }
73 }
74
Popular Tags