View Javadoc

1   /*
2    * Copyright 2008-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.module.purap.businessobject;
17  
18  import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
19  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
20  
21  import java.util.LinkedHashMap;
22  
23  /**
24   * This class is the Capital Asset System State
25   */
26  public class CapitalAssetSystemState extends PersistableBusinessObjectBase implements MutableInactivatable {
27  
28      private String capitalAssetSystemStateCode;
29      private String capitalAssetSystemStateDescription;
30      private boolean active;
31  
32      /**
33       * Default constructor.
34       */
35      public CapitalAssetSystemState() {
36  
37      }
38  
39      public String getCapitalAssetSystemStateCode() {
40          return capitalAssetSystemStateCode;
41      }
42  
43      public void setCapitalAssetSystemStateCode(String capitalAssetSystemStateCode) {
44          this.capitalAssetSystemStateCode = capitalAssetSystemStateCode;
45      }
46  
47      public String getCapitalAssetSystemStateDescription() {
48          return capitalAssetSystemStateDescription;
49      }
50  
51      public void setCapitalAssetSystemStateDescription(String capitalAssetSystemStateDescription) {
52          this.capitalAssetSystemStateDescription = capitalAssetSystemStateDescription;
53      }
54  
55      public boolean isActive() {
56          return active;
57      }
58  
59      public void setActive(boolean active) {
60          this.active = active;
61      }
62  
63  
64      /**
65       * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
66       */
67      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
68          LinkedHashMap m = new LinkedHashMap();
69          m.put("capitalAssetSystemStateCode", this.capitalAssetSystemStateCode);
70          return m;
71      }
72  }