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.ole.module.purap.document.ElectronicInvoiceRejectDocument;
23 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
24
25 import java.util.LinkedHashMap;
26
27 public class ElectronicInvoiceRejectReason extends PersistableBusinessObjectBase {
28
29 private Integer invoiceRejectReasonIdentifier;
30 private Integer purapDocumentIdentifier;
31 private String invoiceFileName;
32 private String invoiceRejectReasonTypeCode;
33 private String invoiceRejectReasonDescription;
34 private ElectronicInvoiceRejectDocument electronicInvoiceRejectDocument;
35 private ElectronicInvoiceRejectReasonType invoiceRejectReasonType;
36
37
38
39
40
41 public ElectronicInvoiceRejectReason() {
42 super();
43 }
44
45 public ElectronicInvoiceRejectReason(String electronicInvoiceRejectTypeCode, String invoiceFileName, String description) {
46 super();
47 this.invoiceRejectReasonTypeCode = electronicInvoiceRejectTypeCode;
48 this.invoiceFileName = invoiceFileName;
49 this.invoiceRejectReasonDescription = description;
50 }
51
52 public ElectronicInvoiceRejectReason(ElectronicInvoiceRejectDocument eir, String electronicInvoiceRejectTypeCode, String invoiceFileName, String description) {
53 super();
54 this.electronicInvoiceRejectDocument = eir;
55 this.invoiceRejectReasonTypeCode = electronicInvoiceRejectTypeCode;
56 this.invoiceFileName = invoiceFileName;
57 this.invoiceRejectReasonDescription = description;
58 }
59
60 public ElectronicInvoiceRejectReason(Integer purapDocumentIdentifier, String electronicInvoiceRejectTypeCode, String invoiceFileName, String description) {
61 super();
62 this.purapDocumentIdentifier = purapDocumentIdentifier;
63 this.invoiceRejectReasonTypeCode = electronicInvoiceRejectTypeCode;
64 this.invoiceFileName = invoiceFileName;
65 this.invoiceRejectReasonDescription = description;
66 }
67
68
69
70
71 public ElectronicInvoiceRejectDocument getElectronicInvoiceRejectDocument() {
72 return electronicInvoiceRejectDocument;
73 }
74
75
76
77
78
79 public void setElectronicInvoiceRejectDocument(ElectronicInvoiceRejectDocument electronicInvoiceRejectDocument) {
80 this.electronicInvoiceRejectDocument = electronicInvoiceRejectDocument;
81 }
82
83
84
85
86 public String getInvoiceRejectReasonTypeCode() {
87 return invoiceRejectReasonTypeCode;
88 }
89
90
91
92
93 public void setInvoiceRejectReasonTypeCode(String electronicInvoiceRejectTypeCode) {
94 this.invoiceRejectReasonTypeCode = electronicInvoiceRejectTypeCode;
95 }
96
97
98
99
100 public Integer getInvoiceRejectReasonIdentifier() {
101 return invoiceRejectReasonIdentifier;
102 }
103
104
105
106
107 public void setInvoiceRejectReasonIdentifier(Integer id) {
108 this.invoiceRejectReasonIdentifier = id;
109 }
110
111
112
113
114 public String getInvoiceFileName() {
115 return invoiceFileName;
116 }
117
118
119
120
121 public void setInvoiceFileName(String invoiceFileName) {
122 this.invoiceFileName = invoiceFileName;
123 }
124
125
126
127
128 public String getInvoiceRejectReasonDescription() {
129 return invoiceRejectReasonDescription;
130 }
131
132
133
134
135 public void setInvoiceRejectReasonDescription(String invoiceRejectReasonDescription) {
136 this.invoiceRejectReasonDescription = invoiceRejectReasonDescription;
137 }
138
139 public ElectronicInvoiceRejectReasonType getInvoiceRejectReasonType() {
140 return invoiceRejectReasonType;
141 }
142
143 public void setInvoiceRejectReasonType(ElectronicInvoiceRejectReasonType invoiceRejectReasonType) {
144 this.invoiceRejectReasonType = invoiceRejectReasonType;
145 }
146
147
148
149
150 public Integer getPurapDocumentIdentifier() {
151 return purapDocumentIdentifier;
152 }
153
154
155
156
157 public void setPurapDocumentIdentifier(Integer rejectHeaderId) {
158 this.purapDocumentIdentifier = rejectHeaderId;
159 }
160
161
162
163
164 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
165
166 LinkedHashMap m = new LinkedHashMap();
167 m.put("invoiceRejectReasonIdentifier", this.invoiceRejectReasonIdentifier);
168 return m;
169 }
170
171 }