ch.sahits.codegen.input
Enum EDBConnectionData

java.lang.Object
  extended by java.lang.Enum<EDBConnectionData>
      extended by ch.sahits.codegen.input.EDBConnectionData
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EDBConnectionData>

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

This enumeration defines the possibilities of the data types needed from the connection.

Since:
2.1.0
Author:
Andi Hotz, Sahits GmbH

Enum Constant Summary
CONNECTION_DATA
          Connection data such as host, user password, ...
CONNECTION_DATA_AND_TABLE_STRUCTURE
          Combination of CONNECTION_DATA and TABLE_STRUCTURE
NONE
          No connection data
TABLE_STRUCTURE
          Structure of the database table
 
Method Summary
static EDBConnectionData valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EDBConnectionData[] 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

NONE

public static final EDBConnectionData NONE
No connection data


CONNECTION_DATA

public static final EDBConnectionData CONNECTION_DATA
Connection data such as host, user password, ...


TABLE_STRUCTURE

public static final EDBConnectionData TABLE_STRUCTURE
Structure of the database table


CONNECTION_DATA_AND_TABLE_STRUCTURE

public static final EDBConnectionData CONNECTION_DATA_AND_TABLE_STRUCTURE
Combination of CONNECTION_DATA and TABLE_STRUCTURE

Method Detail

values

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

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

valueOf

public static EDBConnectionData 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