001/*
002 * Copyright 2009 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 */
016package org.kuali.ole.integration.cam.businessobject;
017
018import org.kuali.ole.integration.cam.CapitalAssetManagementAsset;
019import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
020
021/**
022 * @author Kuali Nervous System Team (kualidev@oncourse.iu.edu)
023 */
024public class Asset extends PersistableBusinessObjectBase implements CapitalAssetManagementAsset {
025    protected Long capitalAssetNumber;
026    protected String capitalAssetDescription;
027    protected String capitalAssetTypeCode;
028    protected String vendorName;
029    protected String campusCode;
030    protected String buildingCode;
031    protected String buildingRoomNumber;
032    protected String buildingSubRoomNumber;
033    protected String campusTagNumber;
034    protected String manufacturerName;
035    protected String manufacturerModelNumber;
036    protected String serialNumber;
037    protected Integer quantity;
038
039    /**
040     * Default constructor.
041     */
042    public Asset() {
043    }
044    
045    /**
046     * Gets the capitalAssetNumber attribute.
047     * 
048     * @return Returns the capitalAssetNumber
049     */
050    @Override
051    public Long getCapitalAssetNumber() {
052        return capitalAssetNumber;
053    }
054
055    /**
056     * Sets the capitalAssetNumber attribute.
057     * 
058     * @param capitalAssetNumber The capitalAssetNumber to set.
059     */
060    public void setCapitalAssetNumber(Long capitalAssetNumber) {
061        this.capitalAssetNumber = capitalAssetNumber;
062    }
063
064    /**
065     * Gets the capitalAssetDescription attribute
066     * 
067     * @return Returns the capitalAssetDescription
068     */
069    @Override
070    public String getCapitalAssetDescription() {
071        return capitalAssetDescription;
072    }
073
074    /**
075     * Sets the capitalAssetDescription attribute.
076     * 
077     * @param capitalAssetDescription The capitalAssetDescription to set.
078     */
079    public void setCapitalAssetDescription(String capitalAssetDescription) {
080        this.capitalAssetDescription = capitalAssetDescription;
081    }
082
083
084    /**
085     * Gets the capitalAssetTypeCode attribute.
086     * 
087     * @return Returns the capitalAssetTypeCode
088     */
089    @Override
090    public String getCapitalAssetTypeCode() {
091        return capitalAssetTypeCode;
092    }
093
094    /**
095     * Sets the capitalAssetTypeCode attribute.
096     * 
097     * @param capitalAssetTypeCode The capitalAssetTypeCode to set.
098     */
099    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}