View Javadoc
1   /**
2    * Copyright 2005-2015 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.options;
17  
18  import org.kuali.rice.core.api.mo.common.Coded;
19  
20  /**
21   * Provides options to identify and categorize expense items
22   *
23   * @author Kuali Rice Team (rice.collab@kuali.org)
24   */
25  public enum ExpenseType implements Coded {
26      A("A", "Airfare"),
27      L("L", "Lodging"),
28      M("M", "Moving Equipment"),
29      O("O", "Other"),
30      R("R", "Automobile Rental"),
31      T("T", "Taxi/Limousine Service"),
32      PA("PA", "Prepaid Airfare"),
33      PC("PC", "Conference Registration"),
34      PL("PL", "Prepaid Lodging"),
35      PM("PM", "Prepaid Moving Rental"),
36      PO("PO", "Prepaid Auto Rental"),
37      PR("PR", "Prepaid Tax/Limo Service"),
38      HB("HB", "Hosted Meal – Breakfast"),
39      HL("HL", "Hosted Meal – Lunch"),
40      HD("HD", "Hosted Meal – Dinner"),
41      MH("MH", "House hunting costs"),
42      MT("MT", "Temporary living"),
43      ML("ML", "Living allowances"),
44      MF("MF", "Final move meals"),
45      MM("MM", "Mileage allowed per mile threshold"),
46      MD("MD", "Domestic storage over 30 days"),
47      MI("MI", "International storage"),
48      ME("ME", "Family Travel Expense"),
49      MO("MO", "Misc. Expense"),
50      EL("EL", "Light refreshments");
51  
52      private final String code;
53      private final String label;
54  
55      ExpenseType(String code, String label) {
56          this.code = code;
57          this.label = label;
58      }
59  
60      public String getCode() {
61          return code;
62      }
63  
64      public String getLabel() {
65          return label;
66      }
67  
68  }