edu.sampleu.travel.options
Enum ExpenseType
java.lang.Object
java.lang.Enum<ExpenseType>
edu.sampleu.travel.options.ExpenseType
- All Implemented Interfaces:
- Serializable, Comparable<ExpenseType>, Coded
public enum ExpenseType
- extends Enum<ExpenseType>
- implements Coded
Provides options to identify and categorize expense items
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
A
public static final ExpenseType A
L
public static final ExpenseType L
M
public static final ExpenseType M
O
public static final ExpenseType O
R
public static final ExpenseType R
T
public static final ExpenseType T
PA
public static final ExpenseType PA
PC
public static final ExpenseType PC
PL
public static final ExpenseType PL
PM
public static final ExpenseType PM
PO
public static final ExpenseType PO
PR
public static final ExpenseType PR
HB
public static final ExpenseType HB
HL
public static final ExpenseType HL
HD
public static final ExpenseType HD
MH
public static final ExpenseType MH
MT
public static final ExpenseType MT
ML
public static final ExpenseType ML
MF
public static final ExpenseType MF
MM
public static final ExpenseType MM
MD
public static final ExpenseType MD
MI
public static final ExpenseType MI
ME
public static final ExpenseType ME
MO
public static final ExpenseType MO
EL
public static final ExpenseType EL
values
public static ExpenseType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ExpenseType c : ExpenseType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ExpenseType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getCode
public String getCode()
- Description copied from interface:
Coded
- The code value for this object. In general a code value cannot be null or a blank string.
- Specified by:
getCode
in interface Coded
- Returns:
- the code value for this object.
getLabel
public String getLabel()
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.