001: /*
002: * Copyright 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: package org.kuali.module.purap.bo;
017:
018: import java.sql.Date;
019: import java.sql.Timestamp;
020: import java.util.List;
021:
022: import org.kuali.core.bo.Note;
023: import org.kuali.core.util.KualiDecimal;
024:
025: /**
026: * Credit Memo View Business Object.
027: */
028: public class CreditMemoView extends AbstractRelatedView {
029: private String creditMemoNumber;
030: private Integer paymentRequestIdentifier;
031: private Integer purchaseOrderIdentifier;
032: private String creditMemoStatusCode;
033: private boolean creditHoldIndicator;
034: private String vendorCustomerNumber;
035: private Date accountsPayableApprovalDate;
036: private Date creditMemoExtractedDate;
037: private Timestamp creditMemoPaidTimestamp;
038: private String vendorName;
039: private KualiDecimal totalAmount;
040:
041: public Date getAccountsPayableApprovalDate() {
042: return accountsPayableApprovalDate;
043: }
044:
045: public void setAccountsPayableApprovalDate(
046: Date accountsPayableApprovalDate) {
047: this .accountsPayableApprovalDate = accountsPayableApprovalDate;
048: }
049:
050: public boolean isCreditHoldIndicator() {
051: return creditHoldIndicator;
052: }
053:
054: public void setCreditHoldIndicator(boolean creditHoldIndicator) {
055: this .creditHoldIndicator = creditHoldIndicator;
056: }
057:
058: public Date getCreditMemoExtractedDate() {
059: return creditMemoExtractedDate;
060: }
061:
062: public void setCreditMemoExtractedDate(Date creditMemoExtractedDate) {
063: this .creditMemoExtractedDate = creditMemoExtractedDate;
064: }
065:
066: public String getCreditMemoNumber() {
067: return creditMemoNumber;
068: }
069:
070: public void setCreditMemoNumber(String creditMemoNumber) {
071: this .creditMemoNumber = creditMemoNumber;
072: }
073:
074: public Timestamp getCreditMemoPaidTimestamp() {
075: return creditMemoPaidTimestamp;
076: }
077:
078: public void setCreditMemoPaidTimestamp(
079: Timestamp creditMemoPaidTimestamp) {
080: this .creditMemoPaidTimestamp = creditMemoPaidTimestamp;
081: }
082:
083: public String getCreditMemoStatusCode() {
084: return creditMemoStatusCode;
085: }
086:
087: public void setCreditMemoStatusCode(String creditMemoStatusCode) {
088: this .creditMemoStatusCode = creditMemoStatusCode;
089: }
090:
091: public Integer getPaymentRequestIdentifier() {
092: return paymentRequestIdentifier;
093: }
094:
095: public void setPaymentRequestIdentifier(
096: Integer paymentRequestIdentifier) {
097: this .paymentRequestIdentifier = paymentRequestIdentifier;
098: }
099:
100: public Integer getPurchaseOrderIdentifier() {
101: return purchaseOrderIdentifier;
102: }
103:
104: public void setPurchaseOrderIdentifier(
105: Integer purchaseOrderIdentifier) {
106: this .purchaseOrderIdentifier = purchaseOrderIdentifier;
107: }
108:
109: public KualiDecimal getTotalAmount() {
110: return totalAmount;
111: }
112:
113: public void setTotalAmount(KualiDecimal totalAmount) {
114: this .totalAmount = totalAmount;
115: }
116:
117: public String getVendorCustomerNumber() {
118: return vendorCustomerNumber;
119: }
120:
121: public void setVendorCustomerNumber(String vendorCustomerNumber) {
122: this .vendorCustomerNumber = vendorCustomerNumber;
123: }
124:
125: public String getVendorName() {
126: return vendorName;
127: }
128:
129: public void setVendorName(String vendorName) {
130: this .vendorName = vendorName;
131: }
132:
133: /**
134: * The next three methods are overridden but shouldnt be! If they arent overridden, they dont show up in the tag, not sure why
135: * at this point! (AAP)
136: */
137: @Override
138: public Integer getPurapDocumentIdentifier() {
139: return super .getPurapDocumentIdentifier();
140: }
141:
142: @Override
143: public List<Note> getNotes() {
144: return super .getNotes();
145: }
146:
147: @Override
148: public String getUrl() {
149: return super.getUrl();
150: }
151: }
|