org.homeunix.thecave.buddi.i18n.keys
Enum BudgetIncomeDefaultKeys

java.lang.Object
  extended by java.lang.Enum<BudgetIncomeDefaultKeys>
      extended by org.homeunix.thecave.buddi.i18n.keys.BudgetIncomeDefaultKeys
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BudgetIncomeDefaultKeys>

public enum BudgetIncomeDefaultKeys
extends java.lang.Enum<BudgetIncomeDefaultKeys>

This class defines all the default keys for the Income Budget Categories. If you add a new key here, it will appear in new data files.

Author:
wyatt

Enum Constant Summary
BONUS
           
INVESTMENT_INCOME
           
SALARY
           
 
Method Summary
static BudgetIncomeDefaultKeys valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BudgetIncomeDefaultKeys[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BONUS

public static final BudgetIncomeDefaultKeys BONUS

SALARY

public static final BudgetIncomeDefaultKeys SALARY

INVESTMENT_INCOME

public static final BudgetIncomeDefaultKeys INVESTMENT_INCOME
Method Detail

values

public static final BudgetIncomeDefaultKeys[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(BudgetIncomeDefaultKeys c : BudgetIncomeDefaultKeys.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static BudgetIncomeDefaultKeys valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name