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: import org.kuali.module.vendor.bo.VendorDetail;
023:
024: /**
025: * Purchase Order Quote List Vendor Business Object.
026: *
027: * THIS CODE IS NOT USED IN RELEASE 2 BUT THE CODE WAS LEFT IN TO
028: * FACILITATE TURNING IT BACK ON EARLY IN THE DEVELOPMENT CYCLE OF RELEASE 3.
029: *
030: */
031: public class PurchaseOrderQuoteListVendor extends
032: PersistableBusinessObjectBase {
033:
034: private Integer purchaseOrderQuoteListIdentifier;
035: private Integer vendorHeaderGeneratedIdentifier;
036: private Integer vendorDetailAssignedIdentifier;
037:
038: private PurchaseOrderQuoteList purchaseOrderQuoteList;
039:
040: private VendorDetail vendorDetail;
041:
042: /**
043: * Default constructor.
044: */
045: public PurchaseOrderQuoteListVendor() {
046:
047: }
048:
049: public Integer getPurchaseOrderQuoteListIdentifier() {
050: return purchaseOrderQuoteListIdentifier;
051: }
052:
053: public void setPurchaseOrderQuoteListIdentifier(
054: Integer purchaseOrderQuoteListIdentifier) {
055: this .purchaseOrderQuoteListIdentifier = purchaseOrderQuoteListIdentifier;
056: }
057:
058: public Integer getVendorHeaderGeneratedIdentifier() {
059: return vendorHeaderGeneratedIdentifier;
060: }
061:
062: public void setVendorHeaderGeneratedIdentifier(
063: Integer vendorHeaderGeneratedIdentifier) {
064: this .vendorHeaderGeneratedIdentifier = vendorHeaderGeneratedIdentifier;
065: }
066:
067: public Integer getVendorDetailAssignedIdentifier() {
068: return vendorDetailAssignedIdentifier;
069: }
070:
071: public void setVendorDetailAssignedIdentifier(
072: Integer vendorDetailAssignedIdentifier) {
073: this .vendorDetailAssignedIdentifier = vendorDetailAssignedIdentifier;
074: }
075:
076: public PurchaseOrderQuoteList getPurchaseOrderQuoteList() {
077: return purchaseOrderQuoteList;
078: }
079:
080: /**
081: * Sets the purchaseOrderQuoteList attribute value.
082: *
083: * @param purchaseOrderQuoteList The purchaseOrderQuoteList to set.
084: * @deprecated
085: */
086: public void setPurchaseOrderQuoteList(
087: PurchaseOrderQuoteList purchaseOrderQuoteList) {
088: this .purchaseOrderQuoteList = purchaseOrderQuoteList;
089: }
090:
091: public VendorDetail getVendorDetail() {
092: return vendorDetail;
093: }
094:
095: public void setVendorDetail(VendorDetail vendorDetail) {
096: this .vendorDetail = vendorDetail;
097: }
098:
099: /**
100: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
101: */
102: protected LinkedHashMap toStringMapper() {
103: LinkedHashMap m = new LinkedHashMap();
104: if (this .purchaseOrderQuoteListIdentifier != null) {
105: m.put("purchaseOrderQuoteListIdentifier",
106: this .purchaseOrderQuoteListIdentifier.toString());
107: }
108: if (this .vendorHeaderGeneratedIdentifier != null) {
109: m.put("vendorHeaderGeneratedIdentifier",
110: this .vendorHeaderGeneratedIdentifier.toString());
111: }
112: if (this .vendorDetailAssignedIdentifier != null) {
113: m.put("vendorDetailAssignedIdentifier",
114: this.vendorDetailAssignedIdentifier.toString());
115: }
116: return m;
117: }
118:
119: }
|