001/* 002 * The Kuali Financial System, a comprehensive financial management system for higher education. 003 * 004 * Copyright 2005-2014 The Kuali Foundation 005 * 006 * This program is free software: you can redistribute it and/or modify 007 * it under the terms of the GNU Affero General Public License as 008 * published by the Free Software Foundation, either version 3 of the 009 * License, or (at your option) any later version. 010 * 011 * This program is distributed in the hope that it will be useful, 012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 014 * GNU Affero General Public License for more details. 015 * 016 * You should have received a copy of the GNU Affero General Public License 017 * along with this program. If not, see <http://www.gnu.org/licenses/>. 018 */ 019 020package org.kuali.kfs.module.ar.report; 021 022import java.math.BigDecimal; 023import java.sql.Date; 024 025/** 026 * Defines a data holder class for the Contracts & Grants Invoice Report. 027 */ 028public class ContractsGrantsInvoiceReportDetailDataHolder { 029 private Long proposalNumber; 030 private String documentNumber; 031 private String invoiceType; 032 private Date invoiceDate; 033 private Date invoiceDueDate; 034 private String openInvoiceIndicator; 035 private String customerNumber; 036 private String customerName; 037 private String sortedFieldValue; 038 private BigDecimal invoiceAmount; 039 private BigDecimal paymentAmount; 040 private BigDecimal remainingAmount; 041 private Long ageInDays; 042 private BigDecimal invoiceSubTotal; 043 private BigDecimal paymentSubTotal; 044 private BigDecimal remainingSubTotal; 045 public boolean displaySubtotal; 046 047 /** 048 * Gets the proposalNumber attribute. 049 * 050 * @return Returns the proposalNumber 051 */ 052 public Long getProposalNumber() { 053 return proposalNumber; 054 } 055 056 /** 057 * Sets the proposalNumber attribute value. 058 * 059 * @param proposalNumber The proposalNumber to set. 060 */ 061 public void setProposalNumber(Long proposalNumber) { 062 this.proposalNumber = proposalNumber; 063 } 064 065 /** 066 * Gets the documentNumber attribute. 067 * 068 * @return Returns the documentNumber 069 */ 070 public String getDocumentNumber() { 071 return documentNumber; 072 } 073 074 /** 075 * Sets the documentNumber attribute value. 076 * 077 * @param documentNumber The documentNumber to set. 078 */ 079 public void setDocumentNumber(String documentNumber) { 080 this.documentNumber = documentNumber; 081 } 082 083 /** 084 * Gets the invoiceType attribute. 085 * 086 * @return Returns the invoiceType 087 */ 088 public String getInvoiceType() { 089 return invoiceType; 090 } 091 092 /** 093 * Sets the invoiceType attribute value. 094 * 095 * @param invoiceType The invoiceType to set. 096 */ 097 public void setInvoiceType(String invoiceType) { 098 this.invoiceType = invoiceType; 099 } 100 101 /** 102 * Gets the invoiceDate attribute. 103 * 104 * @return Returns the invoiceDate 105 */ 106 public Date getInvoiceDate() { 107 return invoiceDate; 108 } 109 110 /** 111 * Sets the invoiceDate attribute value. 112 * 113 * @param invoiceDate The invoiceDate to set. 114 */ 115 public void setInvoiceDate(Date invoiceDate) { 116 this.invoiceDate = invoiceDate; 117 } 118 119 /** 120 * Gets the invoiceDueDate attribute. 121 * 122 * @return Returns the invoiceDueDate 123 */ 124 public Date getInvoiceDueDate() { 125 return invoiceDueDate; 126 } 127 128 /** 129 * Sets the invoiceDueDate attribute value. 130 * 131 * @param invoiceDueDate The invoiceDueDate to set. 132 */ 133 public void setInvoiceDueDate(Date invoiceDueDate) { 134 this.invoiceDueDate = invoiceDueDate; 135 } 136 137 /** 138 * Gets the openInvoiceIndicator attribute. 139 * 140 * @return Returns the openInvoiceIndicator 141 */ 142 public String getOpenInvoiceIndicator() { 143 return openInvoiceIndicator; 144 } 145 146 /** 147 * Sets the openInvoiceIndicator attribute value. 148 * 149 * @param openInvoiceIndicator The openInvoiceIndicator to set. 150 */ 151 public void setOpenInvoiceIndicator(String openInvoiceIndicator) { 152 this.openInvoiceIndicator = openInvoiceIndicator; 153 } 154 155 /** 156 * Gets the customerNumber attribute. 157 * 158 * @return Returns the customerNumber 159 */ 160 public String getCustomerNumber() { 161 return customerNumber; 162 } 163 164 /** 165 * Sets the customerNumber attribute value. 166 * 167 * @param customerNumber The customerNumber to set. 168 */ 169 public void setCustomerNumber(String customerNumber) { 170 this.customerNumber = customerNumber; 171 } 172 173 /** 174 * Gets the customerName attribute. 175 * 176 * @return Returns the customerName 177 */ 178 public String getCustomerName() { 179 return customerName; 180 } 181 182 /** 183 * Sets the customerName attribute value. 184 * 185 * @param customerName The customerName to set. 186 */ 187 public void setCustomerName(String customerName) { 188 this.customerName = customerName; 189 } 190 191 /** 192 * Gets the sortedFieldValue attribute. 193 * 194 * @return Returns the sortedFieldValue 195 */ 196 public String getSortedFieldValue() { 197 return sortedFieldValue; 198 } 199 200 /** 201 * Sets the sortedFieldValue attribute value. 202 * 203 * @param sortedFieldValue The sortedFieldValue to set. 204 */ 205 public void setSortedFieldValue(String sortedFieldValue) { 206 this.sortedFieldValue = sortedFieldValue; 207 } 208 209 /** 210 * Gets the invoiceAmount attribute. 211 * 212 * @return Returns the invoiceAmount 213 */ 214 public BigDecimal getInvoiceAmount() { 215 return invoiceAmount; 216 } 217 218 /** 219 * Sets the invoiceAmount attribute value. 220 * 221 * @param invoiceAmount The invoiceAmount to set. 222 */ 223 public void setInvoiceAmount(BigDecimal invoiceAmount) { 224 this.invoiceAmount = invoiceAmount; 225 } 226 227 /** 228 * Gets the paymentAmount attribute. 229 * 230 * @return Returns the paymentAmount 231 */ 232 public BigDecimal getPaymentAmount() { 233 return paymentAmount; 234 } 235 236 /** 237 * Sets the paymentAmount attribute value. 238 * 239 * @param paymentAmount The paymentAmount to set. 240 */ 241 public void setPaymentAmount(BigDecimal paymentAmount) { 242 this.paymentAmount = paymentAmount; 243 } 244 245 /** 246 * Gets the remainingAmount attribute. 247 * 248 * @return Returns the remainingAmount 249 */ 250 public BigDecimal getRemainingAmount() { 251 return remainingAmount; 252 } 253 254 /** 255 * Sets the remainingAmount attribute value. 256 * 257 * @param remainingAmount The remainingAmount to set. 258 */ 259 public void setRemainingAmount(BigDecimal remainingAmount) { 260 this.remainingAmount = remainingAmount; 261 } 262 263 /** 264 * Gets the ageInDays attribute. 265 * 266 * @return Returns the ageInDays 267 */ 268 public Long getAgeInDays() { 269 return ageInDays; 270 } 271 272 /** 273 * Sets the ageInDays attribute value. 274 * 275 * @param ageInDays The ageInDays to set. 276 */ 277 public void setAgeInDays(Long ageInDays) { 278 this.ageInDays = ageInDays; 279 } 280 281 /** 282 * Gets the invoiceSubTotal attribute. 283 * 284 * @return Returns the invoiceSubTotal 285 */ 286 public BigDecimal getInvoiceSubTotal() { 287 return invoiceSubTotal; 288 } 289 290 /** 291 * Sets the invoiceSubTotal attribute value. 292 * 293 * @param invoiceSubTotal The invoiceSubTotal to set. 294 */ 295 public void setInvoiceSubTotal(BigDecimal invoiceSubTotal) { 296 this.invoiceSubTotal = invoiceSubTotal; 297 } 298 299 /** 300 * Gets the paymentSubTotal attribute. 301 * 302 * @return Returns the paymentSubTotal 303 */ 304 public BigDecimal getPaymentSubTotal() { 305 return paymentSubTotal; 306 } 307 308 /** 309 * Sets the paymentSubTotal attribute value. 310 * 311 * @param paymentSubTotal The paymentSubTotal to set. 312 */ 313 public void setPaymentSubTotal(BigDecimal paymentSubTotal) { 314 this.paymentSubTotal = paymentSubTotal; 315 } 316 317 /** 318 * Gets the remainingSubTotal attribute. 319 * 320 * @return Returns the remainingSubTotal 321 */ 322 public BigDecimal getRemainingSubTotal() { 323 return remainingSubTotal; 324 } 325 326 /** 327 * Sets the remainingSubTotal attribute value. 328 * 329 * @param remainingSubTotal The remainingSubTotal to set. 330 */ 331 public void setRemainingSubTotal(BigDecimal remainingSubTotal) { 332 this.remainingSubTotal = remainingSubTotal; 333 } 334 335 /** 336 * Gets the displaySubtotal attribute. 337 * 338 * @return Returns the displaySubtotal 339 */ 340 public boolean isDisplaySubtotal() { 341 return displaySubtotal; 342 } 343 344 /** 345 * Sets the displaySubtotal attribute value. 346 * 347 * @param displaySubtotal The displaySubtotal to set. 348 */ 349 public void setDisplaySubtotal(boolean displaySubtotal) { 350 this.displaySubtotal = displaySubtotal; 351 } 352}