jgnash.engine.checks
Enum CheckObject.CheckObjectType

java.lang.Object
  extended by java.lang.Enum<CheckObject.CheckObjectType>
      extended by jgnash.engine.checks.CheckObject.CheckObjectType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CheckObject.CheckObjectType>
Enclosing class:
CheckObject

public static enum CheckObject.CheckObjectType
extends java.lang.Enum<CheckObject.CheckObjectType>


Enum Constant Summary
ADDRESS
           
AMOUNT
           
AMOUNT_TEXT
           
DATE
           
MEMO
           
PAYEE
           
 
Field Summary
private  java.lang.String typeName
           
 
Method Summary
 java.lang.String toString()
           
static CheckObject.CheckObjectType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CheckObject.CheckObjectType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AMOUNT

public static final CheckObject.CheckObjectType AMOUNT

AMOUNT_TEXT

public static final CheckObject.CheckObjectType AMOUNT_TEXT

DATE

public static final CheckObject.CheckObjectType DATE

PAYEE

public static final CheckObject.CheckObjectType PAYEE

MEMO

public static final CheckObject.CheckObjectType MEMO

ADDRESS

public static final CheckObject.CheckObjectType ADDRESS
Field Detail

typeName

private transient java.lang.String typeName
Method Detail

values

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

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

valueOf

public static CheckObject.CheckObjectType 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
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<CheckObject.CheckObjectType>