com.pecasim.base.insert
Enum ImportProblem.TYPE

java.lang.Object
  extended by java.lang.Enum<ImportProblem.TYPE>
      extended by com.pecasim.base.insert.ImportProblem.TYPE
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ImportProblem.TYPE>
Enclosing class:
ImportProblem

public static enum ImportProblem.TYPE
extends java.lang.Enum<ImportProblem.TYPE>


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

Enum Constant Detail

WRONG_NR_OF_ARGS

public static final ImportProblem.TYPE WRONG_NR_OF_ARGS

WRONG_ARG_FORMAT

public static final ImportProblem.TYPE WRONG_ARG_FORMAT

DB_CREATE

public static final ImportProblem.TYPE DB_CREATE

DB_INSERT

public static final ImportProblem.TYPE DB_INSERT
Method Detail

values

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

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

valueOf

public static ImportProblem.TYPE 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