01: /*
02: * Copyright 2006-2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16:
17: package org.kuali.module.purap.bo;
18:
19: import java.util.LinkedHashMap;
20:
21: import org.kuali.core.bo.PersistableBusinessObjectBase;
22:
23: /**
24: * Delivery Required Date Reason Business Object. Defines the reason why a delivery date is required.
25: */
26: public class DeliveryRequiredDateReason extends
27: PersistableBusinessObjectBase {
28:
29: private String deliveryRequiredDateReasonCode;
30: private String deliveryRequiredDateReasonDescription;
31: private boolean active;
32:
33: /**
34: * Default constructor.
35: */
36: public DeliveryRequiredDateReason() {
37:
38: }
39:
40: public boolean isActive() {
41: return active;
42: }
43:
44: public void setActive(boolean active) {
45: this .active = active;
46: }
47:
48: public String getDeliveryRequiredDateReasonCode() {
49: return deliveryRequiredDateReasonCode;
50: }
51:
52: public void setDeliveryRequiredDateReasonCode(
53: String deliveryRequiredDateReasonCode) {
54: this .deliveryRequiredDateReasonCode = deliveryRequiredDateReasonCode;
55: }
56:
57: public String getDeliveryRequiredDateReasonDescription() {
58: return deliveryRequiredDateReasonDescription;
59: }
60:
61: public void setDeliveryRequiredDateReasonDescription(
62: String deliveryRequiredDateReasonDescription) {
63: this .deliveryRequiredDateReasonDescription = deliveryRequiredDateReasonDescription;
64: }
65:
66: /**
67: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
68: */
69: protected LinkedHashMap toStringMapper() {
70: LinkedHashMap m = new LinkedHashMap();
71: m.put("deliveryRequiredDateReasonCode",
72: this.deliveryRequiredDateReasonCode);
73: return m;
74: }
75: }
|