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