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 ; 7 import java.io.Serializable ; 8 9 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, HeaderTableModel columnsModel, 26 Vector 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 getDataVector() { 59 return dataVector; 60 } 61 62 public void setDataVector(Vector 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 |