001 /*
002 * Copyright 2011 The Kuali Foundation.
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016 package org.kuali.kfs.integration.cam.businessobject;
017
018 import org.kuali.kfs.integration.cam.CapitalAssetManagementAsset;
019
020 /**
021 * @author Kuali Nervous System Team (kualidev@oncourse.iu.edu)
022 */
023 public class Asset implements CapitalAssetManagementAsset {
024 private Long capitalAssetNumber;
025 private String capitalAssetDescription;
026 private String capitalAssetTypeCode;
027 private String vendorName;
028 private String campusCode;
029 private String buildingCode;
030 private String buildingRoomNumber;
031 private String buildingSubRoomNumber;
032 private String campusTagNumber;
033 private String manufacturerName;
034 private String manufacturerModelNumber;
035 private String serialNumber;
036 private Integer quantity;
037
038 /**
039 * Gets the capitalAssetNumber attribute.
040 *
041 * @return Returns the capitalAssetNumber
042 */
043 public Long getCapitalAssetNumber() {
044 return capitalAssetNumber;
045 }
046
047 /**
048 * Sets the capitalAssetNumber attribute.
049 *
050 * @param capitalAssetNumber The capitalAssetNumber to set.
051 */
052 public void setCapitalAssetNumber(Long capitalAssetNumber) {
053 this.capitalAssetNumber = capitalAssetNumber;
054 }
055
056
057 /**
058 * Gets the capitalAssetDescription attribute
059 *
060 * @return Returns the capitalAssetDescription
061 */
062 public String getCapitalAssetDescription() {
063 return capitalAssetDescription;
064 }
065
066 /**
067 * Sets the capitalAssetDescription attribute.
068 *
069 * @param capitalAssetDescription The capitalAssetDescription to set.
070 */
071 public void setCapitalAssetDescription(String capitalAssetDescription) {
072 this.capitalAssetDescription = capitalAssetDescription;
073 }
074
075
076 /**
077 * Gets the capitalAssetTypeCode attribute.
078 *
079 * @return Returns the capitalAssetTypeCode
080 */
081 public String getCapitalAssetTypeCode() {
082 return capitalAssetTypeCode;
083 }
084
085 /**
086 * Sets the capitalAssetTypeCode attribute.
087 *
088 * @param capitalAssetTypeCode The capitalAssetTypeCode to set.
089 */
090 public void setCapitalAssetTypeCode(String capitalAssetTypeCode) {
091 this.capitalAssetTypeCode = capitalAssetTypeCode;
092 }
093
094 /**
095 * Gets the vendorName attribute.
096 *
097 * @return Returns the vendorName
098 */
099 public String getVendorName() {
100 return vendorName;
101 }
102
103 /**
104 * Sets the vendorName attribute.
105 *
106 * @param vendorName The vendorName to set.
107 */
108 public void setVendorName(String vendorName) {
109 this.vendorName = vendorName;
110 }
111 /**
112 * Gets the campusCode attribute.
113 *
114 * @return Returns the campusCode
115 */
116 public String getCampusCode() {
117 return campusCode;
118 }
119
120 /**
121 * Sets the campusCode attribute.
122 *
123 * @param campusCode The campusCode to set.
124 */
125 public void setCampusCode(String campusCode) {
126 this.campusCode = campusCode;
127 }
128
129
130 /**
131 * Gets the buildingCode attribute.
132 *
133 * @return Returns the buildingCode
134 */
135 public String getBuildingCode() {
136 return buildingCode;
137 }
138
139 /**
140 * Sets the buildingCode attribute.
141 *
142 * @param buildingCode The buildingCode to set.
143 */
144 public void setBuildingCode(String buildingCode) {
145 this.buildingCode = buildingCode;
146 }
147
148
149 /**
150 * Gets the buildingRoomNumber attribute.
151 *
152 * @return Returns the buildingRoomNumber
153 */
154 public String getBuildingRoomNumber() {
155 return buildingRoomNumber;
156 }
157
158 /**
159 * Sets the buildingRoomNumber attribute.
160 *
161 * @param buildingRoomNumber The buildingRoomNumber to set.
162 */
163 public void setBuildingRoomNumber(String buildingRoomNumber) {
164 this.buildingRoomNumber = buildingRoomNumber;
165 }
166
167
168 /**
169 * Gets the buildingSubRoomNumber attribute.
170 *
171 * @return Returns the buildingSubRoomNumber
172 */
173 public String getBuildingSubRoomNumber() {
174 return buildingSubRoomNumber;
175 }
176
177 /**
178 * Sets the buildingSubRoomNumber attribute.
179 *
180 * @param buildingSubRoomNumber The buildingSubRoomNumber to set.
181 */
182 public void setBuildingSubRoomNumber(String buildingSubRoomNumber) {
183 this.buildingSubRoomNumber = buildingSubRoomNumber;
184 }
185
186 /**
187 * Gets the campusTagNumber attribute.
188 *
189 * @return Returns the campusTagNumber
190 */
191 public String getCampusTagNumber() {
192 return campusTagNumber;
193 }
194
195 /**
196 * Sets the campusTagNumber attribute.
197 *
198 * @param campusTagNumber The campusTagNumber to set.
199 */
200 public void setCampusTagNumber(String campusTagNumber) {
201 this.campusTagNumber = campusTagNumber;
202 }
203 /**
204 * Gets the manufacturerName attribute.
205 *
206 * @return Returns the manufacturerName
207 */
208 public String getManufacturerName() {
209 return manufacturerName;
210 }
211
212 /**
213 * Sets the manufacturerName attribute.
214 *
215 * @param manufacturerName The manufacturerName to set.
216 */
217 public void setManufacturerName(String manufacturerName) {
218 this.manufacturerName = manufacturerName;
219 }
220
221
222 /**
223 * Gets the manufacturerModelNumber attribute.
224 *
225 * @return Returns the manufacturerModelNumber
226 */
227 public String getManufacturerModelNumber() {
228 return manufacturerModelNumber;
229 }
230
231 /**
232 * Sets the manufacturerModelNumber attribute.
233 *
234 * @param manufacturerModelNumber The manufacturerModelNumber to set.
235 */
236 public void setManufacturerModelNumber(String manufacturerModelNumber) {
237 this.manufacturerModelNumber = manufacturerModelNumber;
238 }
239
240
241 /**
242 * Gets the serialNumber attribute.
243 *
244 * @return Returns the serialNumber
245 */
246 public String getSerialNumber() {
247 return serialNumber;
248 }
249
250 /**
251 * Sets the serialNumber attribute.
252 *
253 * @param serialNumber The serialNumber to set.
254 */
255 public void setSerialNumber(String serialNumber) {
256 this.serialNumber = serialNumber;
257 }
258
259 public void prepareForWorkflow() {}
260
261 public void refresh() {}
262
263 public Integer getQuantity() {
264 return quantity;
265 }
266
267 public void setQuantity(Integer quantity) {
268 this.quantity = quantity;
269 }
270
271 }