1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.ole.vnd.businessobject;
18
19 import java.util.LinkedHashMap;
20
21 import org.kuali.ole.coa.businessobject.Chart;
22 import org.kuali.ole.coa.businessobject.Organization;
23 import org.kuali.ole.module.purap.businessobject.Carrier;
24 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
25 import org.kuali.rice.core.api.util.type.KualiDecimal;
26 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
27
28
29
30
31
32
33
34 public class VendorCustomerNumber extends PersistableBusinessObjectBase implements MutableInactivatable {
35
36 private Integer vendorCustomerNumberGeneratedIdentifier;
37 private Integer vendorHeaderGeneratedIdentifier;
38 private Integer vendorDetailAssignedIdentifier;
39 private String vendorCustomerNumber;
40 private String chartOfAccountsCode;
41 private String vendorOrganizationCode;
42 private String vendorStandardDeliveryCarrier;
43 private String vendorDiscountType;
44 private Carrier vendorStandardDeliveryCarriers;
45 private KualiDecimal vendorDiscountPercentage;
46 private boolean active;
47 private KualiDecimal vendorStandardDeliveryCarrierInterval;
48 private VendorDetail vendorDetail;
49 private Organization vendorOrganization;
50 private Chart chartOfAccounts;
51
52
53
54
55 public VendorCustomerNumber() {
56
57 }
58
59
60
61
62 public Integer getVendorCustomerNumberGeneratedIdentifier() {
63
64 return vendorCustomerNumberGeneratedIdentifier;
65 }
66
67 public void setVendorCustomerNumberGeneratedIdentifier(Integer vendorCustomerNumberGeneratedIdentifier) {
68 this.vendorCustomerNumberGeneratedIdentifier = vendorCustomerNumberGeneratedIdentifier;
69 }
70
71 public Integer getVendorHeaderGeneratedIdentifier() {
72
73 return vendorHeaderGeneratedIdentifier;
74 }
75
76 public void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier) {
77 this.vendorHeaderGeneratedIdentifier = vendorHeaderGeneratedIdentifier;
78 }
79
80 public Integer getVendorDetailAssignedIdentifier() {
81
82 return vendorDetailAssignedIdentifier;
83 }
84
85 public void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier) {
86 this.vendorDetailAssignedIdentifier = vendorDetailAssignedIdentifier;
87 }
88
89 public String getVendorCustomerNumber() {
90
91 return vendorCustomerNumber;
92 }
93
94 public void setVendorCustomerNumber(String vendorCustomerNumber) {
95 this.vendorCustomerNumber = vendorCustomerNumber;
96 }
97
98 public String getChartOfAccountsCode() {
99
100 return chartOfAccountsCode;
101 }
102
103 public void setChartOfAccountsCode(String chartOfAccountsCode) {
104 this.chartOfAccountsCode = chartOfAccountsCode;
105 }
106
107 public String getVendorOrganizationCode() {
108
109 return vendorOrganizationCode;
110 }
111
112 public void setVendorOrganizationCode(String vendorOrganizationCode) {
113 this.vendorOrganizationCode = vendorOrganizationCode;
114 }
115
116 @Override
117 public boolean isActive() {
118
119 return active;
120 }
121
122 @Override
123 public void setActive(boolean active) {
124 this.active = active;
125 }
126
127 public VendorDetail getVendorDetail() {
128
129 return vendorDetail;
130 }
131
132
133
134
135
136
137
138 @Deprecated
139 public void setVendorDetail(VendorDetail vendorDetail) {
140 this.vendorDetail = vendorDetail;
141 }
142
143 public Organization getVendorOrganization() {
144
145 return vendorOrganization;
146 }
147
148
149
150
151
152
153
154 @Deprecated
155 public void setVendorOrganization(Organization vendorOrganization) {
156 this.vendorOrganization = vendorOrganization;
157 }
158
159 public Chart getChartOfAccounts() {
160
161 return chartOfAccounts;
162 }
163
164
165
166
167
168
169
170 @Deprecated
171 public void setChartOfAccounts(Chart chartOfAccounts) {
172 this.chartOfAccounts = chartOfAccounts;
173 }
174
175
176
177
178 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
179 LinkedHashMap m = new LinkedHashMap();
180 if (this.vendorCustomerNumberGeneratedIdentifier != null) {
181 m.put("vendorCustomerNumberGeneratedIdentifier", this.vendorCustomerNumberGeneratedIdentifier.toString());
182 }
183
184 return m;
185 }
186
187 public String getVendorStandardDeliveryCarrier() {
188 return vendorStandardDeliveryCarrier;
189 }
190
191 public void setVendorStandardDeliveryCarrier(String vendorStandardDeliveryCarrier) {
192 this.vendorStandardDeliveryCarrier = vendorStandardDeliveryCarrier;
193 }
194
195 public KualiDecimal getVendorDiscountPercentage() {
196 return vendorDiscountPercentage;
197 }
198
199 public void setVendorDiscountPercentage(KualiDecimal vendorDiscountPercentage) {
200 this.vendorDiscountPercentage = vendorDiscountPercentage;
201 }
202
203
204
205
206 public KualiDecimal getVendorStandardDeliveryCarrierInterval() {
207 return vendorStandardDeliveryCarrierInterval;
208 }
209
210
211
212
213 public void setVendorStandardDeliveryCarrierInterval(KualiDecimal vendorStandardDeliveryCarrierInterval) {
214 this.vendorStandardDeliveryCarrierInterval = vendorStandardDeliveryCarrierInterval;
215 }
216
217
218
219
220 public Carrier getVendorStandardDeliveryCarriers() {
221 return vendorStandardDeliveryCarriers;
222 }
223
224
225
226
227 public void setVendorStandardDeliveryCarriers(Carrier vendorStandardDeliveryCarriers) {
228 this.vendorStandardDeliveryCarriers = vendorStandardDeliveryCarriers;
229 }
230
231
232
233
234 public String getVendorDiscountType() {
235 return vendorDiscountType;
236 }
237
238
239
240
241 public void setVendorDiscountType(String vendorDiscountType) {
242 this.vendorDiscountType = vendorDiscountType;
243 }
244
245
246
247
248
249
250
251
252 }