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.math.BigDecimal;
020: import java.util.LinkedHashMap;
021:
022: import org.kuali.core.bo.PersistableBusinessObjectBase;
023:
024: /**
025: * Electronic Invoice Invoice Item Business Object.
026: */
027: public class ElectronicInvoiceItem extends
028: PersistableBusinessObjectBase {
029:
030: private Integer invoiceItemIdentifier;
031: private Integer invoiceHeaderInformationIdentifier;
032: private Integer invoiceItemLineNumber;
033: private BigDecimal invoiceItemQuantity;
034: private String invoiceItemUnitOfMeasureCode;
035: private BigDecimal invoiceItemUnitPrice;
036: private String invoiceItemUnitPriceCurrencyCode;
037: private BigDecimal invoiceItemSubTotalAmount;
038: private String invoiceItemSubTotalCurrencyCode;
039: private BigDecimal invoiceItemSpecialHandlingAmount;
040: private String invoiceItemSpecialHandlingCurrencyCode;
041: private BigDecimal invoiceItemShippingAmount;
042: private String invoiceItemShippingCurrencyCode;
043: private String invoiceItemShippingDescription;
044: private BigDecimal invoiceItemTaxAmount;
045: private String invoiceItemTaxCurrencyCode;
046: private String invoiceItemTaxDescription;
047: private BigDecimal invoiceItemGrossAmount;
048: private String invoiceItemGrossCurrencyCode;
049: private BigDecimal invoiceItemDiscountAmount;
050: private String invoiceItemDiscountCurrencyCode;
051: private BigDecimal invoiceItemNetAmount;
052: private String invoiceItemNetCurrencyCode;
053: private Integer invoiceReferenceItemLineNumber;
054: private String invoiceReferenceItemSerialNumber;
055: private String invoiceReferenceItemSupplierPartIdentifier;
056: private String invoiceReferenceItemSupplierPartAuxiliaryIdentifier;
057: private String invoiceReferenceItemDescription;
058: private String invoiceReferenceItemManufacturerPartIdentifier;
059: private String invoiceReferenceItemManufacturerName;
060: private String invoiceReferenceItemCountryCode;
061: private String invoiceReferenceItemCountryName;
062: private String invoiceCatalogNumber;
063:
064: private ElectronicInvoiceHeaderInformation invoiceHeaderInformation;
065:
066: /**
067: * Default constructor.
068: */
069: public ElectronicInvoiceItem() {
070:
071: }
072:
073: public String getInvoiceCatalogNumber() {
074: return invoiceCatalogNumber;
075: }
076:
077: public void setInvoiceCatalogNumber(String invoiceCatalogNumber) {
078: this .invoiceCatalogNumber = invoiceCatalogNumber;
079: }
080:
081: public ElectronicInvoiceHeaderInformation getInvoiceHeaderInformation() {
082: return invoiceHeaderInformation;
083: }
084:
085: /**
086: * @deprecated
087: */
088: public void setInvoiceHeaderInformation(
089: ElectronicInvoiceHeaderInformation invoiceHeaderInformation) {
090: this .invoiceHeaderInformation = invoiceHeaderInformation;
091: }
092:
093: public Integer getInvoiceHeaderInformationIdentifier() {
094: return invoiceHeaderInformationIdentifier;
095: }
096:
097: public void setInvoiceHeaderInformationIdentifier(
098: Integer invoiceHeaderInformationIdentifier) {
099: this .invoiceHeaderInformationIdentifier = invoiceHeaderInformationIdentifier;
100: }
101:
102: public BigDecimal getInvoiceItemDiscountAmount() {
103: return invoiceItemDiscountAmount;
104: }
105:
106: public void setInvoiceItemDiscountAmount(
107: BigDecimal invoiceItemDiscountAmount) {
108: this .invoiceItemDiscountAmount = invoiceItemDiscountAmount;
109: }
110:
111: public String getInvoiceItemDiscountCurrencyCode() {
112: return invoiceItemDiscountCurrencyCode;
113: }
114:
115: public void setInvoiceItemDiscountCurrencyCode(
116: String invoiceItemDiscountCurrencyCode) {
117: this .invoiceItemDiscountCurrencyCode = invoiceItemDiscountCurrencyCode;
118: }
119:
120: public BigDecimal getInvoiceItemGrossAmount() {
121: return invoiceItemGrossAmount;
122: }
123:
124: public void setInvoiceItemGrossAmount(
125: BigDecimal invoiceItemGrossAmount) {
126: this .invoiceItemGrossAmount = invoiceItemGrossAmount;
127: }
128:
129: public String getInvoiceItemGrossCurrencyCode() {
130: return invoiceItemGrossCurrencyCode;
131: }
132:
133: public void setInvoiceItemGrossCurrencyCode(
134: String invoiceItemGrossCurrencyCode) {
135: this .invoiceItemGrossCurrencyCode = invoiceItemGrossCurrencyCode;
136: }
137:
138: public Integer getInvoiceItemIdentifier() {
139: return invoiceItemIdentifier;
140: }
141:
142: public void setInvoiceItemIdentifier(Integer invoiceItemIdentifier) {
143: this .invoiceItemIdentifier = invoiceItemIdentifier;
144: }
145:
146: public Integer getInvoiceItemLineNumber() {
147: return invoiceItemLineNumber;
148: }
149:
150: public void setInvoiceItemLineNumber(Integer invoiceItemLineNumber) {
151: this .invoiceItemLineNumber = invoiceItemLineNumber;
152: }
153:
154: public BigDecimal getInvoiceItemNetAmount() {
155: return invoiceItemNetAmount;
156: }
157:
158: public void setInvoiceItemNetAmount(BigDecimal invoiceItemNetAmount) {
159: this .invoiceItemNetAmount = invoiceItemNetAmount;
160: }
161:
162: public String getInvoiceItemNetCurrencyCode() {
163: return invoiceItemNetCurrencyCode;
164: }
165:
166: public void setInvoiceItemNetCurrencyCode(
167: String invoiceItemNetCurrencyCode) {
168: this .invoiceItemNetCurrencyCode = invoiceItemNetCurrencyCode;
169: }
170:
171: public BigDecimal getInvoiceItemQuantity() {
172: return invoiceItemQuantity;
173: }
174:
175: public void setInvoiceItemQuantity(BigDecimal invoiceItemQuantity) {
176: this .invoiceItemQuantity = invoiceItemQuantity;
177: }
178:
179: public BigDecimal getInvoiceItemShippingAmount() {
180: return invoiceItemShippingAmount;
181: }
182:
183: public void setInvoiceItemShippingAmount(
184: BigDecimal invoiceItemShippingAmount) {
185: this .invoiceItemShippingAmount = invoiceItemShippingAmount;
186: }
187:
188: public String getInvoiceItemShippingCurrencyCode() {
189: return invoiceItemShippingCurrencyCode;
190: }
191:
192: public void setInvoiceItemShippingCurrencyCode(
193: String invoiceItemShippingCurrencyCode) {
194: this .invoiceItemShippingCurrencyCode = invoiceItemShippingCurrencyCode;
195: }
196:
197: public String getInvoiceItemShippingDescription() {
198: return invoiceItemShippingDescription;
199: }
200:
201: public void setInvoiceItemShippingDescription(
202: String invoiceItemShippingDescription) {
203: this .invoiceItemShippingDescription = invoiceItemShippingDescription;
204: }
205:
206: public BigDecimal getInvoiceItemSpecialHandlingAmount() {
207: return invoiceItemSpecialHandlingAmount;
208: }
209:
210: public void setInvoiceItemSpecialHandlingAmount(
211: BigDecimal invoiceItemSpecialHandlingAmount) {
212: this .invoiceItemSpecialHandlingAmount = invoiceItemSpecialHandlingAmount;
213: }
214:
215: public String getInvoiceItemSpecialHandlingCurrencyCode() {
216: return invoiceItemSpecialHandlingCurrencyCode;
217: }
218:
219: public void setInvoiceItemSpecialHandlingCurrencyCode(
220: String invoiceItemSpecialHandlingCurrencyCode) {
221: this .invoiceItemSpecialHandlingCurrencyCode = invoiceItemSpecialHandlingCurrencyCode;
222: }
223:
224: public BigDecimal getInvoiceItemSubTotalAmount() {
225: return invoiceItemSubTotalAmount;
226: }
227:
228: public void setInvoiceItemSubTotalAmount(
229: BigDecimal invoiceItemSubTotalAmount) {
230: this .invoiceItemSubTotalAmount = invoiceItemSubTotalAmount;
231: }
232:
233: public String getInvoiceItemSubTotalCurrencyCode() {
234: return invoiceItemSubTotalCurrencyCode;
235: }
236:
237: public void setInvoiceItemSubTotalCurrencyCode(
238: String invoiceItemSubTotalCurrencyCode) {
239: this .invoiceItemSubTotalCurrencyCode = invoiceItemSubTotalCurrencyCode;
240: }
241:
242: public BigDecimal getInvoiceItemTaxAmount() {
243: return invoiceItemTaxAmount;
244: }
245:
246: public void setInvoiceItemTaxAmount(BigDecimal invoiceItemTaxAmount) {
247: this .invoiceItemTaxAmount = invoiceItemTaxAmount;
248: }
249:
250: public String getInvoiceItemTaxCurrencyCode() {
251: return invoiceItemTaxCurrencyCode;
252: }
253:
254: public void setInvoiceItemTaxCurrencyCode(
255: String invoiceItemTaxCurrencyCode) {
256: this .invoiceItemTaxCurrencyCode = invoiceItemTaxCurrencyCode;
257: }
258:
259: public String getInvoiceItemTaxDescription() {
260: return invoiceItemTaxDescription;
261: }
262:
263: public void setInvoiceItemTaxDescription(
264: String invoiceItemTaxDescription) {
265: this .invoiceItemTaxDescription = invoiceItemTaxDescription;
266: }
267:
268: public String getInvoiceItemUnitOfMeasureCode() {
269: return invoiceItemUnitOfMeasureCode;
270: }
271:
272: public void setInvoiceItemUnitOfMeasureCode(
273: String invoiceItemUnitOfMeasureCode) {
274: this .invoiceItemUnitOfMeasureCode = invoiceItemUnitOfMeasureCode;
275: }
276:
277: public BigDecimal getInvoiceItemUnitPrice() {
278: return invoiceItemUnitPrice;
279: }
280:
281: public void setInvoiceItemUnitPrice(BigDecimal invoiceItemUnitPrice) {
282: this .invoiceItemUnitPrice = invoiceItemUnitPrice;
283: }
284:
285: public String getInvoiceItemUnitPriceCurrencyCode() {
286: return invoiceItemUnitPriceCurrencyCode;
287: }
288:
289: public void setInvoiceItemUnitPriceCurrencyCode(
290: String invoiceItemUnitPriceCurrencyCode) {
291: this .invoiceItemUnitPriceCurrencyCode = invoiceItemUnitPriceCurrencyCode;
292: }
293:
294: public String getInvoiceReferenceItemCountryCode() {
295: return invoiceReferenceItemCountryCode;
296: }
297:
298: public void setInvoiceReferenceItemCountryCode(
299: String invoiceReferenceItemCountryCode) {
300: this .invoiceReferenceItemCountryCode = invoiceReferenceItemCountryCode;
301: }
302:
303: public String getInvoiceReferenceItemCountryName() {
304: return invoiceReferenceItemCountryName;
305: }
306:
307: public void setInvoiceReferenceItemCountryName(
308: String invoiceReferenceItemCountryName) {
309: this .invoiceReferenceItemCountryName = invoiceReferenceItemCountryName;
310: }
311:
312: public String getInvoiceReferenceItemDescription() {
313: return invoiceReferenceItemDescription;
314: }
315:
316: public void setInvoiceReferenceItemDescription(
317: String invoiceReferenceItemDescription) {
318: this .invoiceReferenceItemDescription = invoiceReferenceItemDescription;
319: }
320:
321: public Integer getInvoiceReferenceItemLineNumber() {
322: return invoiceReferenceItemLineNumber;
323: }
324:
325: public void setInvoiceReferenceItemLineNumber(
326: Integer invoiceReferenceItemLineNumber) {
327: this .invoiceReferenceItemLineNumber = invoiceReferenceItemLineNumber;
328: }
329:
330: public String getInvoiceReferenceItemManufacturerName() {
331: return invoiceReferenceItemManufacturerName;
332: }
333:
334: public void setInvoiceReferenceItemManufacturerName(
335: String invoiceReferenceItemManufacturerName) {
336: this .invoiceReferenceItemManufacturerName = invoiceReferenceItemManufacturerName;
337: }
338:
339: public String getInvoiceReferenceItemManufacturerPartIdentifier() {
340: return invoiceReferenceItemManufacturerPartIdentifier;
341: }
342:
343: public void setInvoiceReferenceItemManufacturerPartIdentifier(
344: String invoiceReferenceItemManufacturerPartIdentifier) {
345: this .invoiceReferenceItemManufacturerPartIdentifier = invoiceReferenceItemManufacturerPartIdentifier;
346: }
347:
348: public String getInvoiceReferenceItemSerialNumber() {
349: return invoiceReferenceItemSerialNumber;
350: }
351:
352: public void setInvoiceReferenceItemSerialNumber(
353: String invoiceReferenceItemSerialNumber) {
354: this .invoiceReferenceItemSerialNumber = invoiceReferenceItemSerialNumber;
355: }
356:
357: public String getInvoiceReferenceItemSupplierPartAuxiliaryIdentifier() {
358: return invoiceReferenceItemSupplierPartAuxiliaryIdentifier;
359: }
360:
361: public void setInvoiceReferenceItemSupplierPartAuxiliaryIdentifier(
362: String invoiceReferenceItemSupplierPartAuxiliaryIdentifier) {
363: this .invoiceReferenceItemSupplierPartAuxiliaryIdentifier = invoiceReferenceItemSupplierPartAuxiliaryIdentifier;
364: }
365:
366: public String getInvoiceReferenceItemSupplierPartIdentifier() {
367: return invoiceReferenceItemSupplierPartIdentifier;
368: }
369:
370: public void setInvoiceReferenceItemSupplierPartIdentifier(
371: String invoiceReferenceItemSupplierPartIdentifier) {
372: this .invoiceReferenceItemSupplierPartIdentifier = invoiceReferenceItemSupplierPartIdentifier;
373: }
374:
375: /**
376: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
377: */
378: protected LinkedHashMap toStringMapper() {
379: LinkedHashMap m = new LinkedHashMap();
380: if (this .invoiceItemIdentifier != null) {
381: m.put("invoiceItemIdentifier", this.invoiceItemIdentifier
382: .toString());
383: }
384: return m;
385: }
386: }
|