001 /*
002 * Copyright 2011 The Kuali Foundation.
003 *
004 * Licensed under the Educational Community License, Version 2.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/ecl2.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.kfs.fp.businessobject;
018
019 import java.util.LinkedHashMap;
020
021 import org.kuali.rice.kns.bo.Inactivateable;
022 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
023
024 /**
025 * This class is used to represent the documentation location for a disbursement voucher.
026 */
027 public class DisbursementVoucherDocumentationLocation extends PersistableBusinessObjectBase implements Inactivateable {
028
029 private String disbursementVoucherDocumentationLocationCode;
030 private String disbursementVoucherDocumentationLocationName;
031 private String disbursementVoucherDocumentationLocationAddress;
032 private boolean active;
033
034 /**
035 * Default constructor.
036 */
037 public DisbursementVoucherDocumentationLocation() {
038
039 }
040
041 /**
042 * Gets the disbursementVoucherDocumentationLocationCode attribute.
043 *
044 * @return Returns the disbursementVoucherDocumentationLocationCode
045 */
046 public String getDisbursementVoucherDocumentationLocationCode() {
047 return disbursementVoucherDocumentationLocationCode;
048 }
049
050 /**
051 * Sets the disbursementVoucherDocumentationLocationCode attribute.
052 *
053 * @param disbursementVoucherDocumentationLocationCode The disbursementVoucherDocumentationLocationCode to set.
054 */
055 public void setDisbursementVoucherDocumentationLocationCode(String disbursementVoucherDocumentationLocationCode) {
056 this.disbursementVoucherDocumentationLocationCode = disbursementVoucherDocumentationLocationCode;
057 }
058
059
060 /**
061 * Gets the disbursementVoucherDocumentationLocationName attribute.
062 *
063 * @return Returns the disbursementVoucherDocumentationLocationName
064 */
065 public String getDisbursementVoucherDocumentationLocationName() {
066 return disbursementVoucherDocumentationLocationName;
067 }
068
069 /**
070 * Sets the disbursementVoucherDocumentationLocationName attribute.
071 *
072 * @param disbursementVoucherDocumentationLocationName The disbursementVoucherDocumentationLocationName to set.
073 */
074 public void setDisbursementVoucherDocumentationLocationName(String disbursementVoucherDocumentationLocationName) {
075 this.disbursementVoucherDocumentationLocationName = disbursementVoucherDocumentationLocationName;
076 }
077
078
079 /**
080 * Gets the disbursementVoucherDocumentationLocationAddress attribute.
081 *
082 * @return Returns the disbursementVoucherDocumentationLocationAddress
083 */
084 public String getDisbursementVoucherDocumentationLocationAddress() {
085 return disbursementVoucherDocumentationLocationAddress;
086 }
087
088 /**
089 * Sets the disbursementVoucherDocumentationLocationAddress attribute.
090 *
091 * @param disbursementVoucherDocumentationLocationAddress The disbursementVoucherDocumentationLocationAddress to set.
092 */
093 public void setDisbursementVoucherDocumentationLocationAddress(String disbursementVoucherDocumentationLocationAddress) {
094 this.disbursementVoucherDocumentationLocationAddress = disbursementVoucherDocumentationLocationAddress;
095 }
096
097
098 /**
099 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
100 */
101 protected LinkedHashMap toStringMapper() {
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 }