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.core.api.util.type.KualiDecimal;
20 import org.kuali.rice.core.api.util.type.KualiInteger;
21 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
22
23 import java.util.LinkedHashMap;
24
25
26
27
28 public class OleRequisitionCopies extends PersistableBusinessObjectBase implements OleCopies {
29
30 private Integer itemCopiesId;
31 private Integer itemIdentifier;
32 private KualiInteger parts;
33 private KualiDecimal itemCopies;
34 private String partEnumeration;
35 private String locationCopies;
36 private KualiInteger startingCopyNumber;
37
38 private String caption;
39 private String volumeNumber;
40
41 private PurApItem purapItem;
42
43
44
45
46 public OleRequisitionCopies() {
47
48 }
49
50 public OleRequisitionCopies(KualiDecimal itemCopies, KualiInteger parts, String locationCopies,
51 KualiInteger startingCopyNumber) {
52 this.itemCopies = itemCopies;
53 this.parts = parts;
54 this.locationCopies = locationCopies;
55 this.startingCopyNumber = startingCopyNumber;
56 }
57
58
59
60
61
62
63
64 @Override
65 public Integer getItemCopiesId() {
66 return itemCopiesId;
67 }
68
69
70 @Override
71 public void setItemCopiesId(Integer itemCopiesId) {
72 this.itemCopiesId = itemCopiesId;
73 }
74
75
76 @Override
77 public Integer getItemIdentifier() {
78 return itemIdentifier;
79 }
80
81
82 @Override
83 public void setItemIdentifier(Integer itemIdentifier) {
84 this.itemIdentifier = itemIdentifier;
85 }
86
87
88 @Override
89 public String getPartEnumeration() {
90 return partEnumeration;
91 }
92
93
94 @Override
95 public void setPartEnumeration(String partEnumeration) {
96 this.partEnumeration = partEnumeration;
97 }
98
99 @Override
100 public String getLocationCopies() {
101 return locationCopies;
102 }
103
104 @Override
105 public void setLocationCopies(String locationCopies) {
106 this.locationCopies = locationCopies;
107 }
108
109
110
111
112
113
114
115
116
117 public PurApItem getPurapItem() {
118 return purapItem;
119 }
120
121
122
123
124
125
126
127
128 public void setPurapItem(PurApItem purapItem) {
129 this.purapItem = purapItem;
130 }
131
132 @Override
133 public KualiInteger getParts() {
134 return parts;
135 }
136
137 @Override
138 public void setParts(KualiInteger parts) {
139 this.parts = parts;
140 }
141
142 @Override
143 public KualiDecimal getItemCopies() {
144 return itemCopies;
145 }
146
147 @Override
148 public void setItemCopies(KualiDecimal itemCopies) {
149 this.itemCopies = itemCopies;
150 }
151
152 @Override
153 public KualiInteger getStartingCopyNumber() {
154 return startingCopyNumber;
155 }
156
157 @Override
158 public void setStartingCopyNumber(KualiInteger startingCopyNumber) {
159 this.startingCopyNumber = startingCopyNumber;
160 }
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175 @SuppressWarnings("rawtypes")
176 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
177 LinkedHashMap map = new LinkedHashMap();
178 map.put("itemIdentifier", itemIdentifier);
179 map.put("itemCopiesId", itemCopiesId);
180 map.put("parts", parts);
181 map.put("itemCopies", itemCopies);
182 map.put("partEnumeration", partEnumeration);
183 map.put("locationCopies", locationCopies);
184 map.put("startingCopyNumber", startingCopyNumber);
185 map.put("caption", caption);
186 map.put("volumeNumber", volumeNumber);
187
188 return map;
189 }
190
191
192 public String getCaption() {
193 return caption;
194 }
195
196 public void setCaption(String caption) {
197 this.caption = caption;
198 }
199
200 public String getVolumeNumber() {
201 return volumeNumber;
202 }
203
204 public void setVolumeNumber(String volumeNumber) {
205 this.volumeNumber = volumeNumber;
206 }
207 }