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   * @author Kuali Nervous System Team (kualidev@oncourse.iu.edu)
25   */
26  public class ItemReasonAdded extends PersistableBusinessObjectBase implements MutableInactivatable {
27  
28      private String itemReasonAddedCode;
29      private String itemReasonAddedDescription;
30      private boolean active;
31  
32      /**
33       * Default constructor.
34       */
35      public ItemReasonAdded() {
36  
37      }
38  
39      /**
40       * Gets the itemReasonAddedCode attribute.
41       *
42       * @return Returns the itemReasonAddedCode
43       */
44      public String getItemReasonAddedCode() {
45          return itemReasonAddedCode;
46      }
47  
48      /**
49       * Sets the itemReasonAddedCode attribute.
50       *
51       * @param itemReasonAddedCode The itemReasonAddedCode to set.
52       */
53      public void setItemReasonAddedCode(String itemReasonAddedCode) {
54          this.itemReasonAddedCode = itemReasonAddedCode;
55      }
56  
57  
58      /**
59       * Gets the itemReasonAddedDescription attribute.
60       *
61       * @return Returns the itemReasonAddedDescription
62       */
63      public String getItemReasonAddedDescription() {
64          return itemReasonAddedDescription;
65      }
66  
67      /**
68       * Sets the itemReasonAddedDescription attribute.
69       *
70       * @param itemReasonAddedDescription The itemReasonAddedDescription to set.
71       */
72      public void setItemReasonAddedDescription(String itemReasonAddedDescription) {
73          this.itemReasonAddedDescription = itemReasonAddedDescription;
74      }
75  
76  
77      /**
78       * Gets the active attribute.
79       *
80       * @return Returns the active
81       */
82      public boolean isActive() {
83          return active;
84      }
85  
86      /**
87       * Sets the active attribute.
88       *
89       * @param active The active to set.
90       */
91      public void setActive(boolean active) {
92          this.active = active;
93      }
94  
95  
96      /**
97       * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
98       */
99      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
100         LinkedHashMap m = new LinkedHashMap();
101         m.put("itemReasonAddedCode", this.itemReasonAddedCode);
102         return m;
103     }
104 }