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.rice.krad.bo.PersistableBusinessObjectBase;
19
20 import java.util.LinkedHashMap;
21
22
23
24
25
26 public class OleLineItemReceivingReceiptNotes extends PersistableBusinessObjectBase {
27
28 private Integer receivingLineItemNoteId;
29 private Integer receivingLineItemIdentifier;
30 private Integer noteTypeId;
31 private String notes;
32 private OleNoteType noteType;
33 private OleLineItemReceivingItem receivingLineItem;
34 private boolean notesAck = false;
35
36
37
38
39 public OleLineItemReceivingReceiptNotes() {
40
41 }
42
43
44
45
46
47
48 public OleLineItemReceivingReceiptNotes(OleNotes olePoNotes) {
49 this.setNoteTypeId(olePoNotes.getNoteTypeId().intValue());
50 this.setNotes(olePoNotes.getNote());
51 }
52
53
54
55
56
57
58 public Integer getReceivingLineItemNoteId() {
59 return receivingLineItemNoteId;
60 }
61
62
63
64
65
66
67 public void setReceivingLineItemNoteId(Integer receivingLineItemNoteId) {
68 this.receivingLineItemNoteId = receivingLineItemNoteId;
69 }
70
71
72
73
74
75
76 public Integer getReceivingLineItemIdentifier() {
77 return receivingLineItemIdentifier;
78 }
79
80
81
82
83
84
85 public void setReceivingLineItemIdentifier(Integer receivingLineItemIdentifier) {
86 this.receivingLineItemIdentifier = receivingLineItemIdentifier;
87 }
88
89
90
91
92
93
94 public Integer getNoteTypeId() {
95 return noteTypeId;
96 }
97
98
99
100
101
102
103 public void setNoteTypeId(Integer noteTypeId) {
104 this.noteTypeId = noteTypeId;
105 }
106
107
108
109
110
111
112 public String getNotes() {
113 return notes;
114 }
115
116
117
118
119
120
121 public void setNotes(String notes) {
122 this.notes = notes;
123 }
124
125
126
127
128
129
130 public OleNoteType getNoteType() {
131 return noteType;
132 }
133
134
135
136
137
138
139 public void setNoteType(OleNoteType noteType) {
140 this.noteType = noteType;
141 }
142
143
144
145
146
147
148 public OleLineItemReceivingItem getReceivingLineItem() {
149 return receivingLineItem;
150 }
151
152
153
154
155
156
157 public void setReceivingLineItem(OleLineItemReceivingItem receivingLineItem) {
158 this.receivingLineItem = receivingLineItem;
159 }
160
161
162
163
164
165
166 public boolean isNotesAck() {
167 return notesAck;
168 }
169
170
171
172
173
174
175 public void setNotesAck(boolean notesAck) {
176 this.notesAck = notesAck;
177 }
178
179
180
181
182
183 protected LinkedHashMap toStringMapper() {
184 LinkedHashMap map = new LinkedHashMap();
185 map.put("receivingLineItemIdentifier", receivingLineItemIdentifier);
186 map.put("receivingLineItemNoteId", receivingLineItemNoteId);
187 map.put("noteTypeId", noteTypeId);
188 map.put("notes", notes);
189
190 return map;
191 }
192 }