edu.sampleu.travel.options
Enum ExpenseType

java.lang.Object
  extended by java.lang.Enum<ExpenseType>
      extended by 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)

Enum Constant Summary
A
           
EL
           
HB
           
HD
           
HL
           
L
           
M
           
MD
           
ME
           
MF
           
MH
           
MI
           
ML
           
MM
           
MO
           
MT
           
O
           
PA
           
PC
           
PL
           
PM
           
PO
           
PR
           
R
           
T
           
 
Method Summary
 String getCode()
          The code value for this object.
 String getLabel()
           
static ExpenseType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExpenseType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.