1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.kuali.ole.module.purap.businessobject;
21
22 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
23 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
24
25 import java.util.LinkedHashMap;
26
27 public class ElectronicInvoiceItemMapping extends PersistableBusinessObjectBase implements MutableInactivatable {
28
29 private Integer invoiceMapIdentifier;
30 private Integer vendorHeaderGeneratedIdentifier;
31 private Integer vendorDetailAssignedIdentifier;
32 private String itemTypeCode;
33 private String invoiceItemTypeCode;
34 private boolean active;
35
36 private ItemType itemType;
37 private ItemType invoiceItemType;
38
39
40
41
42 public ElectronicInvoiceItemMapping() {
43 super();
44 }
45
46
47
48
49 public Integer getInvoiceMapIdentifier() {
50 return invoiceMapIdentifier;
51 }
52
53
54
55
56 public void setInvoiceMapIdentifier(Integer id) {
57 this.invoiceMapIdentifier = id;
58 }
59
60
61
62
63 public String getInvoiceItemTypeCode() {
64 return invoiceItemTypeCode;
65 }
66
67
68
69
70 public void setInvoiceItemTypeCode(String electronicInvoiceItemTypeCode) {
71 this.invoiceItemTypeCode = electronicInvoiceItemTypeCode;
72 }
73
74
75
76
77 public String getItemTypeCode() {
78 return itemTypeCode;
79 }
80
81
82
83
84 public void setItemTypeCode(String itemTypeCode) {
85 this.itemTypeCode = itemTypeCode;
86 }
87
88
89
90
91 public ItemType getItemType() {
92 return itemType;
93 }
94
95
96
97
98 public void setItemType(ItemType itemType) {
99 this.itemType = itemType;
100 this.itemTypeCode = itemType.getItemTypeCode();
101 }
102
103 public ItemType getInvoiceItemType() {
104 return invoiceItemType;
105 }
106
107 public void setInvoiceItemType(ItemType invoiceItemType) {
108 this.invoiceItemType = invoiceItemType;
109 }
110
111 public boolean isActive() {
112 return active;
113 }
114
115 public void setActive(boolean active) {
116 this.active = active;
117 }
118
119
120
121
122 public Integer getVendorDetailAssignedIdentifier() {
123 return vendorDetailAssignedIdentifier;
124 }
125
126
127
128
129 public void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedId) {
130 this.vendorDetailAssignedIdentifier = vendorDetailAssignedId;
131 }
132
133
134
135
136 public Integer getVendorHeaderGeneratedIdentifier() {
137 return vendorHeaderGeneratedIdentifier;
138 }
139
140
141
142
143
144 public void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedId) {
145 this.vendorHeaderGeneratedIdentifier = vendorHeaderGeneratedId;
146 }
147
148
149
150
151 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
152 LinkedHashMap m = new LinkedHashMap();
153 m.put("invoiceMapIdentifier", this.invoiceMapIdentifier);
154 return m;
155 }
156 }