View Javadoc
1   /*
2    * The Kuali Financial System, a comprehensive financial management system for higher education.
3    * 
4    * Copyright 2005-2014 The Kuali Foundation
5    * 
6    * This program is free software: you can redistribute it and/or modify
7    * it under the terms of the GNU Affero General Public License as
8    * published by the Free Software Foundation, either version 3 of the
9    * License, or (at your option) any later version.
10   * 
11   * This program is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   * GNU Affero General Public License for more details.
15   * 
16   * You should have received a copy of the GNU Affero General Public License
17   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18   */
19  package org.kuali.kfs.module.purap.businessobject;
20  
21  import java.util.LinkedHashMap;
22  
23  import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
24  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
25  
26  /**
27   * @author Kuali Nervous System Team (kualidev@oncourse.iu.edu)
28   */
29  public class ItemReasonAdded extends PersistableBusinessObjectBase implements MutableInactivatable{
30  
31  	private String itemReasonAddedCode;
32  	private String itemReasonAddedDescription;
33  	private boolean active;
34  
35  	/**
36  	 * Default constructor.
37  	 */
38  	public ItemReasonAdded() {
39  
40  	}
41  
42  	/**
43  	 * Gets the itemReasonAddedCode attribute.
44  	 * 
45  	 * @return Returns the itemReasonAddedCode
46  	 * 
47  	 */
48  	public String getItemReasonAddedCode() { 
49  		return itemReasonAddedCode;
50  	}
51  
52  	/**
53  	 * Sets the itemReasonAddedCode attribute.
54  	 * 
55  	 * @param itemReasonAddedCode The itemReasonAddedCode to set.
56  	 * 
57  	 */
58  	public void setItemReasonAddedCode(String itemReasonAddedCode) {
59  		this.itemReasonAddedCode = itemReasonAddedCode;
60  	}
61  
62  
63  	/**
64  	 * Gets the itemReasonAddedDescription attribute.
65  	 * 
66  	 * @return Returns the itemReasonAddedDescription
67  	 * 
68  	 */
69  	public String getItemReasonAddedDescription() { 
70  		return itemReasonAddedDescription;
71  	}
72  
73  	/**
74  	 * Sets the itemReasonAddedDescription attribute.
75  	 * 
76  	 * @param itemReasonAddedDescription The itemReasonAddedDescription to set.
77  	 * 
78  	 */
79  	public void setItemReasonAddedDescription(String itemReasonAddedDescription) {
80  		this.itemReasonAddedDescription = itemReasonAddedDescription;
81  	}
82  
83  
84  	/**
85  	 * Gets the active attribute.
86  	 * 
87  	 * @return Returns the active
88  	 * 
89  	 */
90  	public boolean isActive() { 
91  		return active;
92  	}
93  
94  	/**
95  	 * Sets the active attribute.
96  	 * 
97  	 * @param active The active to set.
98  	 * 
99  	 */
100 	public void setActive(boolean active) {
101 		this.active = active;
102 	}
103 
104 
105 	/**
106 	 * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
107 	 */
108 	protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
109 	    LinkedHashMap m = new LinkedHashMap();	    
110         m.put("itemReasonAddedCode", this.itemReasonAddedCode);
111 	    return m;
112     }
113 }