View Javadoc

1   /**
2    * Copyright 2005-2014 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package edu.sampleu.travel.approval.dataobject;
17  
18  import org.kuali.rice.krad.bo.PersistableBusinessObject;
19  import org.kuali.rice.core.api.util.type.KualiDecimal;
20  import java.sql.Date;
21  
22  /**
23   * @author Kuali Rice Team (rice.collab@kuali.org)
24   */
25  public interface Expense extends PersistableBusinessObject {
26  
27      public Long getId();
28  
29      public void setId(final Long id);
30  
31      public String getDocumentNumber();
32  
33      public void setDocumentNumber(String documentNumber);
34  
35      public Integer getDocumentLineNumber();
36  
37      public void setDocumentLineNumber(Integer documentLineNumber);
38  
39      public Long getExpenseParentId();
40  
41      public void setExpenseParentId(Long expenseParentId);
42  
43      public Date getExpenseDate();
44  
45      public void setExpenseDate(Date expenseDate);
46  
47      /**
48       * Gets the value of nonReimbursable
49       *
50       * @return the value of nonReimbursable
51       */
52      public Boolean getNonReimbursable();
53  
54      /**
55       * Sets the value of nonReimbursable
56       *
57       * @param argNonReimbursable Value to assign to this.nonReimbursable
58       */
59      public void setNonReimbursable(final Boolean argNonReimbursable);
60  
61      public KualiDecimal getExpenseAmount();
62  
63      public void setExpenseAmount(KualiDecimal expenseAmount);
64  
65      public KualiDecimal getConvertedAmount();
66  
67      public void setConvertedAmount(KualiDecimal convertedAmount);
68  
69      /**
70       * Gets the value of travelExpenseTypeCodeCode
71       *
72       * @return the value of travelExpenseTypeCodeCode
73       */
74      String getTravelExpenseTypeCodeCode();
75  
76      /**
77       * Gets the value of travelExpenseTypeCode
78       *
79       * @return the value of travelExpenseTypeCode
80       */
81  //    TemTravelExpenseTypeCode getTravelExpenseTypeCode();
82  
83      /**
84       * Sets the value of travelExpenseTypeCode
85       *
86       * @param argTravelExpenseTypeCode Value to assign to this.travelExpenseTypeCode
87       */
88  //    void setTravelExpenseTypeCode(final TemTravelExpenseTypeCode argTravelExpenseTypeCode);
89  
90      String getSequenceName();
91  
92      void setAirfareSourceCode(final String airfareSourceCode);
93      String getAirfareSourceCode();
94  
95      void setClassOfServiceCode(final String classOfServiceCode);
96      String getClassOfServiceCode();
97  
98      void setMileageRateId(final Integer mileageRateId);
99      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 }