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.util.LinkedHashMap;
020:
021: import org.kuali.core.bo.PersistableBusinessObjectBase;
022:
023: /**
024: * Electronic Invoice Reject Reason Business Object.
025: */
026: public class ElectronicInvoiceRejectReason extends
027: PersistableBusinessObjectBase {
028:
029: private Integer invoiceRejectReasonIdentifier;
030: private Integer invoiceHeaderInformationIdentifier;
031: private String invoiceRejectReasonTypeCode;
032: private String invoiceRejectReasonDescription;
033:
034: private ElectronicInvoiceHeaderInformation invoiceHeaderInformation;
035: private ElectronicInvoiceRejectTypeCode invoiceRejectReasonType;
036:
037: /**
038: * Default constructor.
039: */
040: public ElectronicInvoiceRejectReason() {
041:
042: }
043:
044: public ElectronicInvoiceHeaderInformation getInvoiceHeaderInformation() {
045: return invoiceHeaderInformation;
046: }
047:
048: /**
049: * @deprecated
050: */
051: public void setInvoiceHeaderInformation(
052: ElectronicInvoiceHeaderInformation invoiceHeaderInformation) {
053: this .invoiceHeaderInformation = invoiceHeaderInformation;
054: }
055:
056: public Integer getInvoiceHeaderInformationIdentifier() {
057: return invoiceHeaderInformationIdentifier;
058: }
059:
060: public void setInvoiceHeaderInformationIdentifier(
061: Integer invoiceHeaderInformationIdentifier) {
062: this .invoiceHeaderInformationIdentifier = invoiceHeaderInformationIdentifier;
063: }
064:
065: public String getInvoiceRejectReasonDescription() {
066: return invoiceRejectReasonDescription;
067: }
068:
069: public void setInvoiceRejectReasonDescription(
070: String invoiceRejectReasonDescription) {
071: this .invoiceRejectReasonDescription = invoiceRejectReasonDescription;
072: }
073:
074: public Integer getInvoiceRejectReasonIdentifier() {
075: return invoiceRejectReasonIdentifier;
076: }
077:
078: public void setInvoiceRejectReasonIdentifier(
079: Integer invoiceRejectReasonIdentifier) {
080: this .invoiceRejectReasonIdentifier = invoiceRejectReasonIdentifier;
081: }
082:
083: public ElectronicInvoiceRejectTypeCode getInvoiceRejectReasonType() {
084: return invoiceRejectReasonType;
085: }
086:
087: /**
088: * @deprecated
089: */
090: public void setInvoiceRejectReasonType(
091: ElectronicInvoiceRejectTypeCode invoiceRejectReasonType) {
092: this .invoiceRejectReasonType = invoiceRejectReasonType;
093: }
094:
095: public String getInvoiceRejectReasonTypeCode() {
096: return invoiceRejectReasonTypeCode;
097: }
098:
099: public void setInvoiceRejectReasonTypeCode(
100: String invoiceRejectReasonTypeCode) {
101: this .invoiceRejectReasonTypeCode = invoiceRejectReasonTypeCode;
102: }
103:
104: /**
105: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
106: */
107: protected LinkedHashMap toStringMapper() {
108: LinkedHashMap m = new LinkedHashMap();
109: if (this .invoiceRejectReasonIdentifier != null) {
110: m.put("invoiceRejectReasonIdentifier",
111: this.invoiceRejectReasonIdentifier.toString());
112: }
113: return m;
114: }
115: }
|