001 /**
002 * Copyright 2005-2013 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 package edu.sampleu.travel.approval.dataobject;
017
018 import org.kuali.rice.krad.bo.PersistableBusinessObject;
019 import org.kuali.rice.core.api.util.type.KualiDecimal;
020 import java.sql.Date;
021
022 /**
023 * @author Kuali Rice Team (rice.collab@kuali.org)
024 */
025 public interface Expense extends PersistableBusinessObject {
026
027 public Long getId();
028
029 public void setId(final Long id);
030
031 public String getDocumentNumber();
032
033 public void setDocumentNumber(String documentNumber);
034
035 public Integer getDocumentLineNumber();
036
037 public void setDocumentLineNumber(Integer documentLineNumber);
038
039 public Long getExpenseParentId();
040
041 public void setExpenseParentId(Long expenseParentId);
042
043 public Date getExpenseDate();
044
045 public void setExpenseDate(Date expenseDate);
046
047 /**
048 * Gets the value of nonReimbursable
049 *
050 * @return the value of nonReimbursable
051 */
052 public Boolean getNonReimbursable();
053
054 /**
055 * Sets the value of nonReimbursable
056 *
057 * @param argNonReimbursable Value to assign to this.nonReimbursable
058 */
059 public void setNonReimbursable(final Boolean argNonReimbursable);
060
061 public KualiDecimal getExpenseAmount();
062
063 public void setExpenseAmount(KualiDecimal expenseAmount);
064
065 public KualiDecimal getConvertedAmount();
066
067 public void setConvertedAmount(KualiDecimal convertedAmount);
068
069 /**
070 * Gets the value of travelExpenseTypeCodeCode
071 *
072 * @return the value of travelExpenseTypeCodeCode
073 */
074 String getTravelExpenseTypeCodeCode();
075
076 /**
077 * Gets the value of travelExpenseTypeCode
078 *
079 * @return the value of travelExpenseTypeCode
080 */
081 // TemTravelExpenseTypeCode getTravelExpenseTypeCode();
082
083 /**
084 * Sets the value of travelExpenseTypeCode
085 *
086 * @param argTravelExpenseTypeCode Value to assign to this.travelExpenseTypeCode
087 */
088 // void setTravelExpenseTypeCode(final TemTravelExpenseTypeCode argTravelExpenseTypeCode);
089
090 String getSequenceName();
091
092 void setAirfareSourceCode(final String airfareSourceCode);
093 String getAirfareSourceCode();
094
095 void setClassOfServiceCode(final String classOfServiceCode);
096 String getClassOfServiceCode();
097
098 void setMileageRateId(final Integer mileageRateId);
099 Integer getMileageRateId();
100
101 // void setMileageRate(final MileageRate mileageRate);
102 // MileageRate getMileageRate();
103
104 void setMiles(final Integer miles);
105 Integer getMiles();
106
107 void setMileageOtherRate(KualiDecimal mileageOtherRate);
108 KualiDecimal getMileageOtherRate();
109
110 void setRentalCarInsurance(final Boolean rentalCarInsurance);
111 Boolean getRentalCarInsurance();
112
113 void setTaxable(final Boolean taxable);
114
115 }