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 SubmissionType extends PersistableBusinessObjectBase {
027:
028: private String submissionTypeCode;
029: private boolean dataObjectMaintenanceCodeActiveIndicator;
030: private String submissionTypeDescription;
031: private Integer userSortNumber;
032:
033: /**
034: * Default constructor.
035: */
036: public SubmissionType() {
037:
038: }
039:
040: /**
041: * Gets the submissionTypeCode attribute.
042: *
043: * @return Returns the submissionTypeCode
044: */
045: public String getSubmissionTypeCode() {
046: return submissionTypeCode;
047: }
048:
049: /**
050: * Sets the submissionTypeCode attribute.
051: *
052: * @param submissionTypeCode The submissionTypeCode to set.
053: */
054: public void setSubmissionTypeCode(String submissionTypeCode) {
055: this .submissionTypeCode = submissionTypeCode;
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 submissionTypeDescription attribute.
079: *
080: * @return Returns the submissionTypeDescription
081: */
082: public String getSubmissionTypeDescription() {
083: return submissionTypeDescription;
084: }
085:
086: /**
087: * Sets the submissionTypeDescription attribute.
088: *
089: * @param submissionTypeDescription The submissionTypeDescription to set.
090: */
091: public void setSubmissionTypeDescription(
092: String submissionTypeDescription) {
093: this .submissionTypeDescription = submissionTypeDescription;
094: }
095:
096: /**
097: * Gets the userSortNumber attribute.
098: *
099: * @return Returns the userSortNumber.
100: */
101: public Integer getUserSortNumber() {
102: return userSortNumber;
103: }
104:
105: /**
106: * Sets the userSortNumber attribute value.
107: *
108: * @param userSortNumber The userSortNumber to set.
109: */
110: public void setUserSortNumber(Integer userSortNumber) {
111: this .userSortNumber = userSortNumber;
112: }
113:
114: /**
115: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
116: */
117: protected LinkedHashMap toStringMapper() {
118: LinkedHashMap m = new LinkedHashMap();
119: m.put("submissionTypeCode", this.submissionTypeCode);
120: return m;
121: }
122:
123: }
|