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: import org.kuali.core.util.KualiDecimal;
023:
024: /**
025: * This class is used to represent a Travel Per Diem business object.
026: */
027: public class TravelPerDiem extends PersistableBusinessObjectBase {
028: private Integer fiscalYear;
029: private String perDiemCountryName;
030: private KualiDecimal perDiemRate;
031: private String perDiemCountryText;
032:
033: /**
034: * Default no-arg constructor.
035: */
036: public TravelPerDiem() {
037:
038: }
039:
040: /**
041: * @return Returns the fiscalYear.
042: */
043: public Integer getFiscalYear() {
044: return fiscalYear;
045: }
046:
047: /**
048: * @param fiscalYear The fiscalYear to set.
049: */
050: public void setFiscalYear(Integer fiscalYear) {
051: this .fiscalYear = fiscalYear;
052: }
053:
054: /**
055: * @return Returns the perDiemCountryName.
056: */
057: public String getPerDiemCountryName() {
058: return perDiemCountryName;
059: }
060:
061: /**
062: * @param perDiemCountryName The perDiemCountryName to set.
063: */
064: public void setPerDiemCountryName(String perDiemCountryName) {
065: this .perDiemCountryName = perDiemCountryName;
066: }
067:
068: /**
069: * @return Returns the perDiemCountryText.
070: */
071: public String getPerDiemCountryText() {
072: return perDiemCountryText;
073: }
074:
075: /**
076: * @param perDiemCountryText The perDiemCountryText to set.
077: */
078: public void setPerDiemCountryText(String perDiemCountryText) {
079: this .perDiemCountryText = perDiemCountryText;
080: }
081:
082: /**
083: * @return Returns the perDiemRate.
084: */
085: public KualiDecimal getPerDiemRate() {
086: return perDiemRate;
087: }
088:
089: /**
090: * @param perDiemRate The perDiemRate to set.
091: */
092: public void setPerDiemRate(KualiDecimal perDiemRate) {
093: this .perDiemRate = perDiemRate;
094: }
095:
096: /**
097: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
098: */
099: protected LinkedHashMap toStringMapper() {
100: LinkedHashMap m = new LinkedHashMap();
101: m.put("perDiemCountryName", this.perDiemCountryName);
102: return m;
103: }
104: }
|