1 /*
2 * Copyright 2009 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl2.php
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package org.kuali.ole.integration.cam.businessobject;
17
18 import org.kuali.ole.integration.cam.CapitalAssetManagementAsset;
19 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
20
21 /**
22 * @author Kuali Nervous System Team (kualidev@oncourse.iu.edu)
23 */
24 public class Asset extends PersistableBusinessObjectBase implements CapitalAssetManagementAsset {
25 protected Long capitalAssetNumber;
26 protected String capitalAssetDescription;
27 protected String capitalAssetTypeCode;
28 protected String vendorName;
29 protected String campusCode;
30 protected String buildingCode;
31 protected String buildingRoomNumber;
32 protected String buildingSubRoomNumber;
33 protected String campusTagNumber;
34 protected String manufacturerName;
35 protected String manufacturerModelNumber;
36 protected String serialNumber;
37 protected Integer quantity;
38
39 /**
40 * Default constructor.
41 */
42 public Asset() {
43 }
44
45 /**
46 * Gets the capitalAssetNumber attribute.
47 *
48 * @return Returns the capitalAssetNumber
49 */
50 @Override
51 public Long getCapitalAssetNumber() {
52 return capitalAssetNumber;
53 }
54
55 /**
56 * Sets the capitalAssetNumber attribute.
57 *
58 * @param capitalAssetNumber The capitalAssetNumber to set.
59 */
60 public void setCapitalAssetNumber(Long capitalAssetNumber) {
61 this.capitalAssetNumber = capitalAssetNumber;
62 }
63
64 /**
65 * Gets the capitalAssetDescription attribute
66 *
67 * @return Returns the capitalAssetDescription
68 */
69 @Override
70 public String getCapitalAssetDescription() {
71 return capitalAssetDescription;
72 }
73
74 /**
75 * Sets the capitalAssetDescription attribute.
76 *
77 * @param capitalAssetDescription The capitalAssetDescription to set.
78 */
79 public void setCapitalAssetDescription(String capitalAssetDescription) {
80 this.capitalAssetDescription = capitalAssetDescription;
81 }
82
83
84 /**
85 * Gets the capitalAssetTypeCode attribute.
86 *
87 * @return Returns the capitalAssetTypeCode
88 */
89 @Override
90 public String getCapitalAssetTypeCode() {
91 return capitalAssetTypeCode;
92 }
93
94 /**
95 * Sets the capitalAssetTypeCode attribute.
96 *
97 * @param capitalAssetTypeCode The capitalAssetTypeCode to set.
98 */
99 public void setCapitalAssetTypeCode(String capitalAssetTypeCode) {
100 this.capitalAssetTypeCode = capitalAssetTypeCode;
101 }
102
103 /**
104 * Gets the vendorName attribute.
105 *
106 * @return Returns the vendorName
107 */
108 @Override
109 public String getVendorName() {
110 return vendorName;
111 }
112
113 /**
114 * Sets the vendorName attribute.
115 *
116 * @param vendorName The vendorName to set.
117 */
118 public void setVendorName(String vendorName) {
119 this.vendorName = vendorName;
120 }
121 /**
122 * Gets the campusCode attribute.
123 *
124 * @return Returns the campusCode
125 */
126 @Override
127 public String getCampusCode() {
128 return campusCode;
129 }
130
131 /**
132 * Sets the campusCode attribute.
133 *
134 * @param campusCode The campusCode to set.
135 */
136 public void setCampusCode(String campusCode) {
137 this.campusCode = campusCode;
138 }
139
140
141 /**
142 * Gets the buildingCode attribute.
143 *
144 * @return Returns the buildingCode
145 */
146 @Override
147 public String getBuildingCode() {
148 return buildingCode;
149 }
150
151 /**
152 * Sets the buildingCode attribute.
153 *
154 * @param buildingCode The buildingCode to set.
155 */
156 public void setBuildingCode(String buildingCode) {
157 this.buildingCode = buildingCode;
158 }
159
160
161 /**
162 * Gets the buildingRoomNumber attribute.
163 *
164 * @return Returns the buildingRoomNumber
165 */
166 @Override
167 public String getBuildingRoomNumber() {
168 return buildingRoomNumber;
169 }
170
171 /**
172 * Sets the buildingRoomNumber attribute.
173 *
174 * @param buildingRoomNumber The buildingRoomNumber to set.
175 */
176 public void setBuildingRoomNumber(String buildingRoomNumber) {
177 this.buildingRoomNumber = buildingRoomNumber;
178 }
179
180
181 /**
182 * Gets the buildingSubRoomNumber attribute.
183 *
184 * @return Returns the buildingSubRoomNumber
185 */
186 @Override
187 public String getBuildingSubRoomNumber() {
188 return buildingSubRoomNumber;
189 }
190
191 /**
192 * Sets the buildingSubRoomNumber attribute.
193 *
194 * @param buildingSubRoomNumber The buildingSubRoomNumber to set.
195 */
196 public void setBuildingSubRoomNumber(String buildingSubRoomNumber) {
197 this.buildingSubRoomNumber = buildingSubRoomNumber;
198 }
199
200 /**
201 * Gets the campusTagNumber attribute.
202 *
203 * @return Returns the campusTagNumber
204 */
205 @Override
206 public String getCampusTagNumber() {
207 return campusTagNumber;
208 }
209
210 /**
211 * Sets the campusTagNumber attribute.
212 *
213 * @param campusTagNumber The campusTagNumber to set.
214 */
215 public void setCampusTagNumber(String campusTagNumber) {
216 this.campusTagNumber = campusTagNumber;
217 }
218 /**
219 * Gets the manufacturerName attribute.
220 *
221 * @return Returns the manufacturerName
222 */
223 @Override
224 public String getManufacturerName() {
225 return manufacturerName;
226 }
227
228 /**
229 * Sets the manufacturerName attribute.
230 *
231 * @param manufacturerName The manufacturerName to set.
232 */
233 public void setManufacturerName(String manufacturerName) {
234 this.manufacturerName = manufacturerName;
235 }
236
237
238 /**
239 * Gets the manufacturerModelNumber attribute.
240 *
241 * @return Returns the manufacturerModelNumber
242 */
243 @Override
244 public String getManufacturerModelNumber() {
245 return manufacturerModelNumber;
246 }
247
248 /**
249 * Sets the manufacturerModelNumber attribute.
250 *
251 * @param manufacturerModelNumber The manufacturerModelNumber to set.
252 */
253 public void setManufacturerModelNumber(String manufacturerModelNumber) {
254 this.manufacturerModelNumber = manufacturerModelNumber;
255 }
256
257
258 /**
259 * Gets the serialNumber attribute.
260 *
261 * @return Returns the serialNumber
262 */
263 @Override
264 public String getSerialNumber() {
265 return serialNumber;
266 }
267
268 /**
269 * Sets the serialNumber attribute.
270 *
271 * @param serialNumber The serialNumber to set.
272 */
273 public void setSerialNumber(String serialNumber) {
274 this.serialNumber = serialNumber;
275 }
276
277 @Override
278 public void refresh() {}
279
280 @Override
281 public Integer getQuantity() {
282 return quantity;
283 }
284
285 public void setQuantity(Integer quantity) {
286 this.quantity = quantity;
287 }
288
289 }