1 /*
2 * Copyright 2006 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl2.php
9 *
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.ole.fp.businessobject;
18
19 import java.util.LinkedHashMap;
20
21 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
22 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
23
24 /**
25 * This class is used to represent the documentation location for a disbursement voucher.
26 */
27 public class DisbursementVoucherDocumentationLocation extends PersistableBusinessObjectBase implements MutableInactivatable {
28
29 private String disbursementVoucherDocumentationLocationCode;
30 private String disbursementVoucherDocumentationLocationName;
31 private String disbursementVoucherDocumentationLocationAddress;
32 private boolean active;
33
34 /**
35 * Default constructor.
36 */
37 public DisbursementVoucherDocumentationLocation() {
38
39 }
40
41 /**
42 * Gets the disbursementVoucherDocumentationLocationCode attribute.
43 *
44 * @return Returns the disbursementVoucherDocumentationLocationCode
45 */
46 public String getDisbursementVoucherDocumentationLocationCode() {
47 return disbursementVoucherDocumentationLocationCode;
48 }
49
50 /**
51 * Sets the disbursementVoucherDocumentationLocationCode attribute.
52 *
53 * @param disbursementVoucherDocumentationLocationCode The disbursementVoucherDocumentationLocationCode to set.
54 */
55 public void setDisbursementVoucherDocumentationLocationCode(String disbursementVoucherDocumentationLocationCode) {
56 this.disbursementVoucherDocumentationLocationCode = disbursementVoucherDocumentationLocationCode;
57 }
58
59
60 /**
61 * Gets the disbursementVoucherDocumentationLocationName attribute.
62 *
63 * @return Returns the disbursementVoucherDocumentationLocationName
64 */
65 public String getDisbursementVoucherDocumentationLocationName() {
66 return disbursementVoucherDocumentationLocationName;
67 }
68
69 /**
70 * Sets the disbursementVoucherDocumentationLocationName attribute.
71 *
72 * @param disbursementVoucherDocumentationLocationName The disbursementVoucherDocumentationLocationName to set.
73 */
74 public void setDisbursementVoucherDocumentationLocationName(String disbursementVoucherDocumentationLocationName) {
75 this.disbursementVoucherDocumentationLocationName = disbursementVoucherDocumentationLocationName;
76 }
77
78
79 /**
80 * Gets the disbursementVoucherDocumentationLocationAddress attribute.
81 *
82 * @return Returns the disbursementVoucherDocumentationLocationAddress
83 */
84 public String getDisbursementVoucherDocumentationLocationAddress() {
85 return disbursementVoucherDocumentationLocationAddress;
86 }
87
88 /**
89 * Sets the disbursementVoucherDocumentationLocationAddress attribute.
90 *
91 * @param disbursementVoucherDocumentationLocationAddress The disbursementVoucherDocumentationLocationAddress to set.
92 */
93 public void setDisbursementVoucherDocumentationLocationAddress(String disbursementVoucherDocumentationLocationAddress) {
94 this.disbursementVoucherDocumentationLocationAddress = disbursementVoucherDocumentationLocationAddress;
95 }
96
97
98 /**
99 * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
100 */
101 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
102 LinkedHashMap m = new LinkedHashMap();
103 m.put("disbursementVoucherDocumentationLocationCode", this.disbursementVoucherDocumentationLocationCode);
104 return m;
105 }
106
107 /**
108 * Gets the active attribute.
109 * @return Returns the active.
110 */
111 public boolean isActive() {
112 return active;
113 }
114
115 /**
116 * Sets the active attribute value.
117 * @param active The active to set.
118 */
119 public void setActive(boolean active) {
120 this.active = active;
121 }
122 }