001: /*
002: * Copyright 2006-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 ProjectType extends PersistableBusinessObjectBase {
027:
028: private String projectTypeCode;
029: private boolean dataObjectMaintenanceCodeActiveIndicator;
030: private String projectTypeDescription;
031: private Integer sortNumber;
032:
033: /**
034: * Default constructor.
035: */
036: public ProjectType() {
037:
038: }
039:
040: /**
041: * Gets the projectTypeCode attribute.
042: *
043: * @return Returns the projectTypeCode
044: */
045: public String getProjectTypeCode() {
046: return projectTypeCode;
047: }
048:
049: /**
050: * Sets the projectTypeCode attribute.
051: *
052: * @param projectTypeCode The projectTypeCode to set.
053: */
054: public void setProjectTypeCode(String projectTypeCode) {
055: this .projectTypeCode = projectTypeCode;
056: }
057:
058: /**
059: * Gets the dataObjectMaintenanceCodeActiveIndicator attribute.
060: *
061: * @return Returns the dataObjectMaintenanceCodeActiveIndicator
062: */
063: public boolean isDataObjectMaintenanceCodeActiveIndicator() {
064: return dataObjectMaintenanceCodeActiveIndicator;
065: }
066:
067: /**
068: * Sets the dataObjectMaintenanceCodeActiveIndicator attribute.
069: *
070: * @param dataObjectMaintenanceCodeActiveIndicator The dataObjectMaintenanceCodeActiveIndicator to set.
071: */
072: public void setDataObjectMaintenanceCodeActiveIndicator(
073: boolean dataObjectMaintenanceCodeActiveIndicator) {
074: this .dataObjectMaintenanceCodeActiveIndicator = dataObjectMaintenanceCodeActiveIndicator;
075: }
076:
077: /**
078: * Gets the projectTypeDescription attribute.
079: *
080: * @return Returns the projectTypeDescription
081: */
082: public String getProjectTypeDescription() {
083: return projectTypeDescription;
084: }
085:
086: /**
087: * Sets the projectTypeDescription attribute.
088: *
089: * @param projectTypeDescription The projectTypeDescription to set.
090: */
091: public void setProjectTypeDescription(String projectTypeDescription) {
092: this .projectTypeDescription = projectTypeDescription;
093: }
094:
095: /**
096: * Gets the sortNumber attribute.
097: *
098: * @return Returns the sortNumber
099: */
100: public Integer getSortNumber() {
101: return sortNumber;
102: }
103:
104: /**
105: * Sets the sortNumber attribute.
106: *
107: * @param sortNumber The sortNumber to set.
108: */
109: public void setSortNumber(Integer sortNumber) {
110: this .sortNumber = sortNumber;
111: }
112:
113: /**
114: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
115: */
116: protected LinkedHashMap toStringMapper() {
117: LinkedHashMap m = new LinkedHashMap();
118: m.put("projectTypeCode", this.projectTypeCode);
119: return m;
120: }
121: }
|