ch.sahits.codegen.wizards
Enum EGenerationType

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

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

This enumeration holds the values for the ways to generate the code.

Since:
0.9.4
Author:
Andi Hotz

Enum Constant Summary
AST_IMPLEMENTATION
           
GENERATE_JETEMPLATE
           
JET_AST_GENERATION
           
JETEMPATE
           
JETEMPLATE_AST_IMPROVEMENT
           
 
Method Summary
static EGenerationType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EGenerationType[] 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

JETEMPATE

public static final EGenerationType JETEMPATE

GENERATE_JETEMPLATE

public static final EGenerationType GENERATE_JETEMPLATE

AST_IMPLEMENTATION

public static final EGenerationType AST_IMPLEMENTATION

JET_AST_GENERATION

public static final EGenerationType JET_AST_GENERATION

JETEMPLATE_AST_IMPROVEMENT

public static final EGenerationType JETEMPLATE_AST_IMPROVEMENT
Method Detail

values

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

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

valueOf

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