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.module.purap.businessobject;
017
018 import java.util.LinkedHashMap;
019
020 import org.kuali.rice.kns.bo.Inactivateable;
021 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
022
023 /**
024 *
025 * This class is the Capital Asset System State
026 */
027 public class CapitalAssetSystemState extends PersistableBusinessObjectBase implements Inactivateable{
028
029 private String capitalAssetSystemStateCode;
030 private String capitalAssetSystemStateDescription;
031 private boolean active;
032
033 /**
034 * Default constructor.
035 */
036 public CapitalAssetSystemState() {
037
038 }
039
040 public String getCapitalAssetSystemStateCode() {
041 return capitalAssetSystemStateCode;
042 }
043
044 public void setCapitalAssetSystemStateCode(String capitalAssetSystemStateCode) {
045 this.capitalAssetSystemStateCode = capitalAssetSystemStateCode;
046 }
047
048 public String getCapitalAssetSystemStateDescription() {
049 return capitalAssetSystemStateDescription;
050 }
051
052 public void setCapitalAssetSystemStateDescription(String capitalAssetSystemStateDescription) {
053 this.capitalAssetSystemStateDescription = capitalAssetSystemStateDescription;
054 }
055
056 public boolean isActive() {
057 return active;
058 }
059
060 public void setActive(boolean active) {
061 this.active = active;
062 }
063
064
065 /**
066 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
067 */
068 protected LinkedHashMap toStringMapper() {
069 LinkedHashMap m = new LinkedHashMap();
070 m.put("capitalAssetSystemStateCode", this.capitalAssetSystemStateCode);
071 return m;
072 }
073 }