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: import java.util.List;
021:
022: import org.kuali.core.bo.PersistableBusinessObjectBase;
023: import org.kuali.core.util.TypedArrayList;
024: import org.kuali.module.vendor.bo.ContractManager;
025:
026: /**
027: * Purchase Order Quote List Business Object.
028: *
029: * THIS CODE IS NOT USED IN RELEASE 2 BUT THE CODE WAS LEFT IN TO
030: * FACILITATE TURNING IT BACK ON EARLY IN THE DEVELOPMENT CYCLE OF RELEASE 3.
031: *
032: */
033: public class PurchaseOrderQuoteList extends
034: PersistableBusinessObjectBase {
035:
036: private Integer purchaseOrderQuoteListIdentifier;
037: private String purchaseOrderQuoteListName;
038: private Integer contractManagerCode;
039:
040: private ContractManager contractManager;
041:
042: private List<PurchaseOrderQuoteListVendor> quoteListVendors;
043:
044: /**
045: * Default constructor.
046: */
047: public PurchaseOrderQuoteList() {
048: quoteListVendors = new TypedArrayList(
049: PurchaseOrderQuoteListVendor.class);
050: }
051:
052: public Integer getPurchaseOrderQuoteListIdentifier() {
053: return purchaseOrderQuoteListIdentifier;
054: }
055:
056: public void setPurchaseOrderQuoteListIdentifier(
057: Integer purchaseOrderQuoteListIdentifier) {
058: this .purchaseOrderQuoteListIdentifier = purchaseOrderQuoteListIdentifier;
059: }
060:
061: public String getPurchaseOrderQuoteListName() {
062: return purchaseOrderQuoteListName;
063: }
064:
065: public void setPurchaseOrderQuoteListName(
066: String purchaseOrderQuoteListName) {
067: this .purchaseOrderQuoteListName = purchaseOrderQuoteListName;
068: }
069:
070: public Integer getContractManagerCode() {
071: return contractManagerCode;
072: }
073:
074: public void setContractManagerCode(Integer contractManagerCode) {
075: this .contractManagerCode = contractManagerCode;
076: }
077:
078: public List<PurchaseOrderQuoteListVendor> getQuoteListVendors() {
079: return quoteListVendors;
080: }
081:
082: public void setQuoteListVendors(
083: List<PurchaseOrderQuoteListVendor> quoteListVendors) {
084: this .quoteListVendors = quoteListVendors;
085: }
086:
087: public ContractManager getContractManager() {
088: return contractManager;
089: }
090:
091: /**
092: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
093: */
094: protected LinkedHashMap toStringMapper() {
095: LinkedHashMap m = new LinkedHashMap();
096: if (this .purchaseOrderQuoteListIdentifier != null) {
097: m.put("purchaseOrderQuoteListIdentifier",
098: this.purchaseOrderQuoteListIdentifier.toString());
099: }
100: return m;
101: }
102:
103: }
|