1 /*
2 * Copyright 2005 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.coa.businessobject;
17
18 import java.util.LinkedHashMap;
19
20 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
21 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
22
23 /**
24 *
25 */
26 public class ResponsibilityCenter extends PersistableBusinessObjectBase implements MutableInactivatable {
27
28 /**
29 * Default no-arg constructor.
30 */
31 public ResponsibilityCenter() {
32
33 }
34
35 private String responsibilityCenterCode;
36 private String responsibilityCenterName;
37 private String responsibilityCenterShortName;
38 private boolean active;
39
40 /**
41 * Gets the responsibilityCenterCode attribute.
42 *
43 * @return Returns the responsibilityCenterCode
44 */
45 public String getResponsibilityCenterCode() {
46 return responsibilityCenterCode;
47 }
48
49 /**
50 * Sets the responsibilityCenterCode attribute.
51 *
52 * @param responsibilityCenterCode The responsibilityCenterCode to set.
53 */
54 public void setResponsibilityCenterCode(String responsibilityCenterCode) {
55 this.responsibilityCenterCode = responsibilityCenterCode;
56 }
57
58 /**
59 * Gets the responsibilityCenterName attribute.
60 *
61 * @return Returns the responsibilityCenterName
62 */
63 public String getResponsibilityCenterName() {
64 return responsibilityCenterName;
65 }
66
67 /**
68 * Sets the responsibilityCenterName attribute.
69 *
70 * @param responsibilityCenterName The responsibilityCenterName to set.
71 */
72 public void setResponsibilityCenterName(String responsibilityCenterName) {
73 this.responsibilityCenterName = responsibilityCenterName;
74 }
75
76 /**
77 * Gets the responsibilityCenterShortName attribute.
78 *
79 * @return Returns the responsibilityCenterShortName
80 */
81 public String getResponsibilityCenterShortName() {
82 return responsibilityCenterShortName;
83 }
84
85 /**
86 * Sets the responsibilityCenterShortName attribute.
87 *
88 * @param responsibilityCenterShortName The responsibilityCenterShortName to set.
89 */
90 public void setResponsibilityCenterShortName(String responsibilityCenterShortName) {
91 this.responsibilityCenterShortName = responsibilityCenterShortName;
92 }
93
94 /**
95 * Gets the active attribute.
96 *
97 * @return Returns the active
98 */
99 public boolean isActive() {
100 return active;
101 }
102
103 /**
104 * Sets the _active_ attribute.
105 *
106 * @param _active_ The _active_ to set.
107 */
108 public void setActive(boolean active) {
109 this.active = active;
110 }
111
112 /**
113 * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
114 */
115 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
116 LinkedHashMap m = new LinkedHashMap();
117
118 m.put("responsibilityCenterCode", this.responsibilityCenterCode);
119
120 return m;
121 }
122 }