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