/* * The Kuali Financial System, a comprehensive financial management system for higher education. * * Copyright 2005-2014 The Kuali Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package org.kuali.kfs.module.tem.identity; import org.kuali.kfs.module.tem.businessobject.JobClassification; import org.kuali.kfs.module.tem.businessobject.TravelerType; import org.kuali.kfs.sys.identity.KfsKimAttributes; import org.kuali.rice.core.api.util.type.KualiDecimal; public class TemKimAttributes extends KfsKimAttributes { public static final String TRAVELER_TYPE_CODE = "travelerTypeCode"; public static final String JOB_CLASSIFICATION_CODE = "jobClsCode"; public static final String REIMBURSEMENT_AMOUNT = "reimbursementAmount"; public static final String AUTHORIZATION_AMOUNT = "authorizationAmount"; public static final String REIMBURESEMENT_OVERAGE_PERCENTAGE = "reimbursementOveragePercentage"; protected String travelerTypeCode; protected String jobClsCode; protected KualiDecimal reimbursementAmount; protected KualiDecimal authorizationAmount; protected KualiDecimal reimbursementOveragePercentage; protected TravelerType travelerType; protected JobClassification jobClassification; /** * @return the traveler type code */ public String getTravelerTypeCode() { return travelerTypeCode; } /** * Sets the traveler type code * @param travelerTypeCode the traveler type code */ public void setTravelerTypeCode(String travelerTypeCode) { this.travelerTypeCode = travelerTypeCode; } /** * @return the job classification code */ public String getJobClsCode() { return jobClsCode; } /** * Sets the the job classification code * @param jobClassificationCode the job classification code */ public void setJobClsCode(String jobClassificationCode) { this.jobClsCode = jobClassificationCode; } /** * @return the reimbursement amount */ public KualiDecimal getReimbursementAmount() { return reimbursementAmount; } /** * Sets the amounted being reimbursed * @param reimbursementAmount the reimbursement amount */ public void setReimbursementAmount(KualiDecimal reimbursementAmount) { this.reimbursementAmount = reimbursementAmount; } /** * @return the authorization amount */ public KualiDecimal getAuthorizationAmount() { return authorizationAmount; } /** * Sets the total amount authorized * @param authorizationAmount the authorization amount */ public void setAuthorizationAmount(KualiDecimal authorizationAmount) { this.authorizationAmount = authorizationAmount; } /** * @return the reimbursement overage percentage */ public KualiDecimal getReimbursementOveragePercentage() { return reimbursementOveragePercentage; } /** * Sets the reimbursement overage percentage * @param reimbursementOveragePercentage the positive reimbursement overage percentage */ public void setReimbursementOveragePercentage(KualiDecimal reimbursementOveragePercentage) { this.reimbursementOveragePercentage = reimbursementOveragePercentage; } /** * @return the related traveler type */ public TravelerType getTravelerType() { return travelerType; } /** * Sets the traveler type * @param travelerType the related traveler type */ public void setTravelerType(TravelerType travelerType) { this.travelerType = travelerType; } /** * @return the related job classification */ public JobClassification getJobClassification() { return jobClassification; } /** * Sets the related job classification * @param jobClassification the related job classification */ public void setJobClassification(JobClassification jobClassification) { this.jobClassification = jobClassification; } }