1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.select.businessobject;
17
18 import org.kuali.ole.module.purap.businessobject.PurApItem;
19 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
20
21 import java.util.LinkedHashMap;
22
23
24
25
26 public class OlePurchaseOrderNotes extends PersistableBusinessObjectBase implements OleNotes {
27
28
29
30
31 public OlePurchaseOrderNotes() {
32
33 }
34
35 private Integer itemNoteId;
36 private String documentNumber;
37 private Integer itemIdentifier;
38 private String note;
39 private Integer noteTypeId;
40
41 private OleNoteType noteType;
42 private PurApItem purapItem;
43
44
45
46
47
48
49
50 public Integer getItemNoteId() {
51 return itemNoteId;
52 }
53
54
55
56
57
58
59
60 public void setItemNoteId(Integer itemNoteId) {
61 this.itemNoteId = itemNoteId;
62 }
63
64
65
66
67
68
69 public String getDocumentNumber() {
70 return documentNumber;
71 }
72
73
74
75
76
77
78 public void setDocumentNumber(String documentNumber) {
79 this.documentNumber = documentNumber;
80 }
81
82
83
84
85
86
87
88 public Integer getItemIdentifier() {
89 return itemIdentifier;
90 }
91
92
93
94
95
96
97
98 public void setItemIdentifier(Integer itemIdentifier) {
99 this.itemIdentifier = itemIdentifier;
100 }
101
102
103
104
105
106
107
108 public String getNote() {
109 return note;
110 }
111
112
113
114
115
116
117
118 public void setNote(String note) {
119 this.note = note;
120 }
121
122
123
124
125
126
127
128 public Integer getNoteTypeId() {
129 return noteTypeId;
130 }
131
132
133
134
135
136
137
138 public void setNoteTypeId(Integer noteTypeId) {
139 this.noteTypeId = noteTypeId;
140 }
141
142
143
144
145
146
147
148 public OleNoteType getNoteType() {
149 return noteType;
150 }
151
152
153
154
155
156
157
158 public void setNoteType(OleNoteType noteType) {
159 this.noteType = noteType;
160 }
161
162
163
164
165
166
167 public OlePurchaseOrderNotes(OleNotes notes) {
168 this.setNote(notes.getNote());
169 this.setNoteTypeId(notes.getNoteTypeId());
170 }
171
172
173
174
175
176
177 public OlePurchaseOrderItem getOlePurchaseOrderItem() {
178 return this.getPurapItem();
179 }
180
181
182
183
184
185
186 public void setOlePurchaseOrderItem(OlePurchaseOrderItem item) {
187 this.setPurapItem(item);
188 }
189
190
191
192
193
194 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
195 LinkedHashMap map = new LinkedHashMap();
196 map.put("documentNumber", documentNumber);
197 map.put("itemIdentifier", itemIdentifier);
198 map.put("poItemNoteId", itemNoteId);
199 map.put("noteTypeId", noteTypeId);
200 map.put("note", note);
201 return map;
202 }
203
204
205
206
207 @Override
208 public <T extends PurApItem> T getPurapItem() {
209 return (T) purapItem;
210 }
211
212
213
214
215 @Override
216 public void setPurapItem(PurApItem item) {
217 purapItem = item;
218
219 }
220
221 }