ch.sahits.codegen.java.wizards
Enum EDBGenerationCode

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

Deprecated. since 1.1.0 use DynamicDBGenerationCode instead. With the next mayor release this enumeration goes

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

This enumeration holds the values for the different generation types

Since:
0.9.2
Author:
Andi Hotz

Enum Constant Summary
WITH_DB_CONNECTION
          Deprecated. Generate a class with relation to a database table retrieved from a connection to the database
WITH_DB_INPUT_FILE
          Deprecated. Generate a class with relation to a database table retrieved from the input file
WITHOUT_DB
          Deprecated. Generate a class without any relations to a database e.g.
 
Method Summary
static EDBGenerationCode valueOf(java.lang.String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static EDBGenerationCode[] values()
          Deprecated. 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

WITHOUT_DB

public static final EDBGenerationCode WITHOUT_DB
Deprecated. 
Generate a class without any relations to a database e.g. HelloWorld


WITH_DB_INPUT_FILE

public static final EDBGenerationCode WITH_DB_INPUT_FILE
Deprecated. 
Generate a class with relation to a database table retrieved from the input file


WITH_DB_CONNECTION

public static final EDBGenerationCode WITH_DB_CONNECTION
Deprecated. 
Generate a class with relation to a database table retrieved from a connection to the database

Method Detail

values

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

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

valueOf

public static EDBGenerationCode valueOf(java.lang.String name)
Deprecated. 
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