001: /*
002: * Copyright 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:
017: package org.kuali.module.kra.routingform.bo;
018:
019: import java.util.LinkedHashMap;
020:
021: import org.kuali.core.bo.PersistableBusinessObjectBase;
022:
023: /**
024: *
025: */
026: public class ResearchTypeCode extends PersistableBusinessObjectBase {
027:
028: private String researchTypeCode;
029: private boolean dataObjectMaintenanceCodeActiveIndicator;
030: private String researchTypeDescription;
031:
032: /**
033: * Default constructor.
034: */
035: public ResearchTypeCode() {
036:
037: }
038:
039: /**
040: * Gets the researchTypeCode attribute.
041: *
042: * @return Returns the researchTypeCode
043: */
044: public String getResearchTypeCode() {
045: return researchTypeCode;
046: }
047:
048: /**
049: * Sets the researchTypeCode attribute.
050: *
051: * @param researchTypeCode The researchTypeCode to set.
052: */
053: public void setResearchTypeCode(String researchTypeCode) {
054: this .researchTypeCode = researchTypeCode;
055: }
056:
057: /**
058: * Gets the dataObjectMaintenanceCodeActiveIndicator attribute.
059: *
060: * @return Returns the dataObjectMaintenanceCodeActiveIndicator
061: */
062: public boolean isDataObjectMaintenanceCodeActiveIndicator() {
063: return dataObjectMaintenanceCodeActiveIndicator;
064: }
065:
066: /**
067: * Sets the dataObjectMaintenanceCodeActiveIndicator attribute.
068: *
069: * @param dataObjectMaintenanceCodeActiveIndicator The dataObjectMaintenanceCodeActiveIndicator to set.
070: */
071: public void setDataObjectMaintenanceCodeActiveIndicator(
072: boolean dataObjectMaintenanceCodeActiveIndicator) {
073: this .dataObjectMaintenanceCodeActiveIndicator = dataObjectMaintenanceCodeActiveIndicator;
074: }
075:
076: /**
077: * Gets the researchTypeDescription attribute.
078: *
079: * @return Returns the researchTypeDescription
080: */
081: public String getResearchTypeDescription() {
082: return researchTypeDescription;
083: }
084:
085: /**
086: * Sets the researchTypeDescription attribute.
087: *
088: * @param researchTypeDescription The researchTypeDescription to set.
089: */
090: public void setResearchTypeDescription(
091: String researchTypeDescription) {
092: this .researchTypeDescription = researchTypeDescription;
093: }
094:
095: /**
096: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
097: */
098: protected LinkedHashMap toStringMapper() {
099: LinkedHashMap m = new LinkedHashMap();
100: m.put("researchTypeCode", this.researchTypeCode);
101: return m;
102: }
103: }
|