View Javadoc
1   /*
2    * Copyright 2011 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.select.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.math.BigDecimal;
22  import java.util.LinkedHashMap;
23  
24  public class OleCategory extends PersistableBusinessObjectBase implements MutableInactivatable {
25      private BigDecimal categoryId;
26      private String category;
27      private boolean active;
28  
29  
30      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
31          LinkedHashMap m = new LinkedHashMap();
32          m.put("categoryId", this.categoryId);
33          return m;
34      }
35  
36  
37      public boolean isActive() {
38          return active;
39      }
40  
41  
42      public void setActive(boolean active) {
43          this.active = active;
44      }
45  
46  
47      public String getCategory() {
48          return category;
49      }
50  
51  
52      public void setCategory(String category) {
53          this.category = category;
54      }
55  
56  
57      public BigDecimal getCategoryId() {
58          return categoryId;
59      }
60  
61  
62      public void setCategoryId(BigDecimal categoryId) {
63          this.categoryId = categoryId;
64      }
65  }