1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.module.purap.util;
17
18 import org.kuali.ole.module.purap.businessobject.PurApItem;
19 import org.kuali.ole.module.purap.businessobject.PurApItemUseTax;
20 import org.kuali.ole.sys.businessobject.SourceAccountingLine;
21
22 import java.util.ArrayList;
23 import java.util.List;
24
25
26
27
28
29 public class UseTaxContainer {
30
31 private PurApItemUseTax useTax;
32 private List<SourceAccountingLine> accounts;
33 private List<PurApItem> items;
34
35 public UseTaxContainer() {
36 super();
37 accounts = new ArrayList<SourceAccountingLine>();
38 items = new ArrayList<PurApItem>();
39 }
40
41 public UseTaxContainer(PurApItemUseTax useTax, PurApItem item) {
42 super();
43 this.useTax = useTax;
44 accounts = new ArrayList<SourceAccountingLine>();
45 items = new ArrayList<PurApItem>();
46 items.add(item);
47 }
48
49 public PurApItemUseTax getUseTax() {
50 return useTax;
51 }
52
53 public void setUseTax(PurApItemUseTax useTax) {
54 this.useTax = useTax;
55 }
56
57 public List<SourceAccountingLine> getAccounts() {
58 return accounts;
59 }
60
61 public void setAccounts(List<SourceAccountingLine> accounts) {
62 this.accounts = accounts;
63 }
64
65 public List<PurApItem> getItems() {
66 return items;
67 }
68
69 public void setItems(List<PurApItem> items) {
70 this.items = items;
71 }
72
73
74 }