1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.ole.module.purap.businessobject;
18
19 import org.kuali.ole.vnd.businessobject.ContractManager;
20 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
21 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
22
23 import java.util.ArrayList;
24 import java.util.LinkedHashMap;
25 import java.util.List;
26
27
28
29
30 public class PurchaseOrderQuoteList extends PersistableBusinessObjectBase implements MutableInactivatable {
31
32 private Integer purchaseOrderQuoteListIdentifier;
33 private String purchaseOrderQuoteListName;
34 private Integer contractManagerCode;
35 private String contractManagerName;
36 private boolean active;
37
38 private ContractManager contractManager;
39
40 private List<PurchaseOrderQuoteListVendor> quoteListVendors;
41
42
43
44
45 public PurchaseOrderQuoteList() {
46 quoteListVendors = new ArrayList<PurchaseOrderQuoteListVendor>();
47 }
48
49 public Integer getPurchaseOrderQuoteListIdentifier() {
50 return purchaseOrderQuoteListIdentifier;
51 }
52
53 public void setPurchaseOrderQuoteListIdentifier(Integer purchaseOrderQuoteListIdentifier) {
54 this.purchaseOrderQuoteListIdentifier = purchaseOrderQuoteListIdentifier;
55 }
56
57 public String getPurchaseOrderQuoteListName() {
58 return purchaseOrderQuoteListName;
59 }
60
61 public void setPurchaseOrderQuoteListName(String purchaseOrderQuoteListName) {
62 this.purchaseOrderQuoteListName = purchaseOrderQuoteListName;
63 }
64
65 public Integer getContractManagerCode() {
66 return contractManagerCode;
67 }
68
69 public void setContractManagerCode(Integer contractManagerCode) {
70 this.contractManagerCode = contractManagerCode;
71 }
72
73 public List<PurchaseOrderQuoteListVendor> getQuoteListVendors() {
74 return quoteListVendors;
75 }
76
77 public void setQuoteListVendors(List<PurchaseOrderQuoteListVendor> quoteListVendors) {
78 this.quoteListVendors = quoteListVendors;
79 }
80
81 public ContractManager getContractManager() {
82 return contractManager;
83 }
84
85
86
87
88
89 public void setContractManager(ContractManager contractManager) {
90 this.contractManager = contractManager;
91 }
92
93 public String getContractManagerName() {
94 return contractManager.getContractManagerName();
95 }
96
97 public void setContractManagerName(String contractManagerName) {
98 this.contractManagerName = contractManagerName;
99 }
100
101
102
103
104 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
105 LinkedHashMap m = new LinkedHashMap();
106 if (this.purchaseOrderQuoteListIdentifier != null) {
107 m.put("purchaseOrderQuoteListIdentifier", this.purchaseOrderQuoteListIdentifier.toString());
108 }
109 return m;
110 }
111
112 public boolean isActive() {
113 return active;
114 }
115
116 public void setActive(boolean active) {
117 this.active = active;
118 }
119
120 }