1 19 package org.openbravo.erpCommon.utility; 20 21 22 import java.util.List ; 23 import java.sql.ResultSet ; 24 import java.awt.Color ; 25 26 public class GridReportVO { 27 private String jrxmlTemplate; 28 private String sql; 29 private String title; 30 private String context; 31 private List columns; 32 private ResultSet resultSet; 33 private BandStyleVO headerBandStyle; 34 private BandStyleVO detailBandStyle; 35 private int totalWidth; 36 private Boolean pagination; 37 38 public GridReportVO() { 39 } 40 41 public GridReportVO(String jrxmlTemplate, ResultSet resultSet, String title, 42 List columns, String context, int totalWidth) { 43 super(); 44 this.jrxmlTemplate = jrxmlTemplate; 45 this.resultSet = resultSet; 46 this.title = title; 47 this.context = context; 48 this.columns = columns; 49 this.headerBandStyle = new BandStyleVO(null, new Color (65,134,18),9, true, false, false); 50 this.detailBandStyle = new BandStyleVO(); 51 this.totalWidth = totalWidth; 52 } 53 54 public List getColumns() { 55 return columns; 56 } 57 58 public BandStyleVO getDetailBandStyle() { 59 return detailBandStyle; 60 } 61 62 public BandStyleVO getHeaderBandStyle() { 63 return headerBandStyle; 64 } 65 66 public String getJrxmlTemplate() { 67 return jrxmlTemplate; 68 } 69 70 public String getSql() { 71 return sql; 72 } 73 74 public String getContext() { 75 return context; 76 } 77 78 public String getTitle() { 79 return title; 80 } 81 82 public ResultSet getResultSet() { 83 return resultSet; 84 } 85 86 public int getTotalWidth() { 87 return totalWidth; 88 } 89 90 public Boolean getPagination() { 91 return pagination; 92 } 93 94 public void setColumns(List columns) { 95 this.columns = columns; 96 } 97 98 public void setDetailBandStyle(BandStyleVO detailBandStyle) { 99 this.detailBandStyle = detailBandStyle; 100 } 101 102 public void setHeaderBandStyle(BandStyleVO headerBandStyle) { 103 this.headerBandStyle = headerBandStyle; 104 } 105 106 public void setJrxmlTemplate(String jrxmlTemplate) { 107 this.jrxmlTemplate = jrxmlTemplate; 108 } 109 110 public void setSql(String sql) { 111 this.sql = sql; 112 } 113 114 public void setContext(String context) { 115 this.context = context; 116 } 117 118 public void setTitle(String title) { 119 this.title = title; 120 } 121 122 public void setResultSet(ResultSet resultSet) { 123 this.resultSet = resultSet; 124 } 125 126 public void setTotalWidth(int totalWidth) { 127 this.totalWidth = totalWidth; 128 } 129 130 public void setPagination(Boolean pagination) { 131 this.pagination = pagination; 132 } 133 134 } 135 | Popular Tags |