001: /*
002: * Copyright 2005-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.opensource.org/licenses/ecl1.php
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016: package org.kuali.module.chart.bo;
017:
018: import java.util.LinkedHashMap;
019:
020: import org.kuali.core.bo.PersistableBusinessObjectBase;
021:
022: /**
023: *
024: */
025: public class ResponsibilityCenter extends PersistableBusinessObjectBase {
026:
027: /**
028: * Default no-arg constructor.
029: */
030: public ResponsibilityCenter() {
031:
032: }
033:
034: private String responsibilityCenterCode;
035: private String responsibilityCenterName;
036: private String responsibilityCenterShortName;
037: private boolean responsibilityCenterActiveIndicator;
038:
039: /**
040: * Gets the responsibilityCenterCode attribute.
041: *
042: * @return Returns the responsibilityCenterCode
043: */
044: public String getResponsibilityCenterCode() {
045: return responsibilityCenterCode;
046: }
047:
048: /**
049: * Sets the responsibilityCenterCode attribute.
050: *
051: * @param responsibilityCenterCode The responsibilityCenterCode to set.
052: */
053: public void setResponsibilityCenterCode(
054: String responsibilityCenterCode) {
055: this .responsibilityCenterCode = responsibilityCenterCode;
056: }
057:
058: /**
059: * Gets the responsibilityCenterName attribute.
060: *
061: * @return Returns the responsibilityCenterName
062: */
063: public String getResponsibilityCenterName() {
064: return responsibilityCenterName;
065: }
066:
067: /**
068: * Sets the responsibilityCenterName attribute.
069: *
070: * @param responsibilityCenterName The responsibilityCenterName to set.
071: */
072: public void setResponsibilityCenterName(
073: String responsibilityCenterName) {
074: this .responsibilityCenterName = responsibilityCenterName;
075: }
076:
077: /**
078: * Gets the responsibilityCenterShortName attribute.
079: *
080: * @return Returns the responsibilityCenterShortName
081: */
082: public String getResponsibilityCenterShortName() {
083: return responsibilityCenterShortName;
084: }
085:
086: /**
087: * Sets the responsibilityCenterShortName attribute.
088: *
089: * @param responsibilityCenterShortName The responsibilityCenterShortName to set.
090: */
091: public void setResponsibilityCenterShortName(
092: String responsibilityCenterShortName) {
093: this .responsibilityCenterShortName = responsibilityCenterShortName;
094: }
095:
096: /**
097: * Gets the responsibilityCenterActiveIndicator attribute.
098: *
099: * @return Returns the responsibilityCenterActiveIndicator
100: */
101: public boolean getResponsibilityCenterActiveIndicator() {
102: return responsibilityCenterActiveIndicator;
103: }
104:
105: /**
106: * Sets the _responsibilityCenterActiveIndicator_ attribute.
107: *
108: * @param _responsibilityCenterActiveIndicator_ The _responsibilityCenterActiveIndicator_ to set.
109: */
110: public void setResponsibilityCenterActiveIndicator(
111: boolean responsibilityCenterActiveIndicator) {
112: this .responsibilityCenterActiveIndicator = responsibilityCenterActiveIndicator;
113: }
114:
115: /**
116: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
117: */
118: protected LinkedHashMap toStringMapper() {
119: LinkedHashMap m = new LinkedHashMap();
120:
121: m
122: .put("responsibilityCenterCode",
123: this.responsibilityCenterCode);
124:
125: return m;
126: }
127: }
|