jfreerails.world.accounts
Enum Transaction.Category

java.lang.Object
  extended by java.lang.Enum<Transaction.Category>
      extended by jfreerails.world.accounts.Transaction.Category
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Transaction.Category>
Enclosing interface:
Transaction

public static enum Transaction.Category
extends java.lang.Enum<Transaction.Category>


Enum Constant Summary
BOND
           
BRIDGES
           
CARGO_DELIVERY
           
INDUSTRIES
           
INTEREST_CHARGE
           
ISSUE_STOCK
           
MISC_INCOME
           
STATION_MAINTENANCE
           
STATIONS
           
TRACK
           
TRACK_MAINTENANCE
           
TRAIN
           
TRAIN_MAINTENANCE
           
TRANSFER_STOCK
           
 
Method Summary
static Transaction.Category valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Transaction.Category[] 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

BOND

public static final Transaction.Category BOND

BRIDGES

public static final Transaction.Category BRIDGES

CARGO_DELIVERY

public static final Transaction.Category CARGO_DELIVERY

INDUSTRIES

public static final Transaction.Category INDUSTRIES

INTEREST_CHARGE

public static final Transaction.Category INTEREST_CHARGE

ISSUE_STOCK

public static final Transaction.Category ISSUE_STOCK

MISC_INCOME

public static final Transaction.Category MISC_INCOME

STATION_MAINTENANCE

public static final Transaction.Category STATION_MAINTENANCE

STATIONS

public static final Transaction.Category STATIONS

TRACK

public static final Transaction.Category TRACK

TRACK_MAINTENANCE

public static final Transaction.Category TRACK_MAINTENANCE

TRAIN

public static final Transaction.Category TRAIN

TRAIN_MAINTENANCE

public static final Transaction.Category TRAIN_MAINTENANCE

TRANSFER_STOCK

public static final Transaction.Category TRANSFER_STOCK
Method Detail

values

public static final Transaction.Category[] 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(Transaction.Category c : Transaction.Category.values())
        System.out.println(c);

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

valueOf

public static Transaction.Category 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