001: /*
002: * Copyright 2006-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.opensource.org/licenses/ecl1.php
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016:
017: package org.kuali.module.purap.bo;
018:
019: import java.math.BigDecimal;
020: import java.sql.Date;
021: import java.util.LinkedHashMap;
022:
023: import org.kuali.core.bo.PersistableBusinessObjectBase;
024:
025: /**
026: * Electronic Invoice Invoice Load Summary Business Object.
027: */
028: public class ElectronicInvoiceLoadSummary extends
029: PersistableBusinessObjectBase {
030:
031: private Long accountsPayableElectronicInvoiceLoadSummaryIdentifier;
032: private String vendorDunsNumber;
033: private Date fileProcessDate;
034: private Integer invoiceLoadSuccessCount;
035: private BigDecimal invoiceLoadSuccessAmount;
036: private Integer invoiceLoadFailCount;
037: private BigDecimal invoiceLoadFailAmount;
038:
039: /**
040: * Default constructor.
041: */
042: public ElectronicInvoiceLoadSummary() {
043:
044: }
045:
046: public Long getAccountsPayableElectronicInvoiceLoadSummaryIdentifier() {
047: return accountsPayableElectronicInvoiceLoadSummaryIdentifier;
048: }
049:
050: public void setAccountsPayableElectronicInvoiceLoadSummaryIdentifier(
051: Long accountsPayableElectronicInvoiceLoadSummaryIdentifier) {
052: this .accountsPayableElectronicInvoiceLoadSummaryIdentifier = accountsPayableElectronicInvoiceLoadSummaryIdentifier;
053: }
054:
055: public Date getFileProcessDate() {
056: return fileProcessDate;
057: }
058:
059: public void setFileProcessDate(Date fileProcessDate) {
060: this .fileProcessDate = fileProcessDate;
061: }
062:
063: public BigDecimal getInvoiceLoadFailAmount() {
064: return invoiceLoadFailAmount;
065: }
066:
067: public void setInvoiceLoadFailAmount(
068: BigDecimal invoiceLoadFailAmount) {
069: this .invoiceLoadFailAmount = invoiceLoadFailAmount;
070: }
071:
072: public Integer getInvoiceLoadFailCount() {
073: return invoiceLoadFailCount;
074: }
075:
076: public void setInvoiceLoadFailCount(Integer invoiceLoadFailCount) {
077: this .invoiceLoadFailCount = invoiceLoadFailCount;
078: }
079:
080: public BigDecimal getInvoiceLoadSuccessAmount() {
081: return invoiceLoadSuccessAmount;
082: }
083:
084: public void setInvoiceLoadSuccessAmount(
085: BigDecimal invoiceLoadSuccessAmount) {
086: this .invoiceLoadSuccessAmount = invoiceLoadSuccessAmount;
087: }
088:
089: public Integer getInvoiceLoadSuccessCount() {
090: return invoiceLoadSuccessCount;
091: }
092:
093: public void setInvoiceLoadSuccessCount(
094: Integer invoiceLoadSuccessCount) {
095: this .invoiceLoadSuccessCount = invoiceLoadSuccessCount;
096: }
097:
098: public String getVendorDunsNumber() {
099: return vendorDunsNumber;
100: }
101:
102: public void setVendorDunsNumber(String vendorDunsNumber) {
103: this .vendorDunsNumber = vendorDunsNumber;
104: }
105:
106: /**
107: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
108: */
109: protected LinkedHashMap toStringMapper() {
110: LinkedHashMap m = new LinkedHashMap();
111: if (this .accountsPayableElectronicInvoiceLoadSummaryIdentifier != null) {
112: m
113: .put(
114: "accountsPayableElectronicInvoiceLoadSummaryIdentifier",
115: this .accountsPayableElectronicInvoiceLoadSummaryIdentifier
116: .toString());
117: }
118: m.put("vendorDunsNumber", this.vendorDunsNumber);
119: return m;
120: }
121: }
|