|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Jdbc2SchemaOptionName>
org.apache.torque.templates.transformer.jdbc2schema.Jdbc2SchemaOptionName
public enum Jdbc2SchemaOptionName
The option names which are used in the java code of the jdbc2schema templates. $Id: Jdbc2SchemaOptionName.java 1331196 2012-04-27 02:56:12Z tfischer $
Enum Constant Summary | |
---|---|
DATABASE_NAME
The name of the database to generate. |
Method Summary | |
---|---|
static void |
checkRequiredOptions(ControllerState controllerState)
Checks whether all required options are set. |
String |
getName()
Returns the name of the option. |
boolean |
isRequired()
Returns whether this option must be set. |
String |
toString()
|
static Jdbc2SchemaOptionName |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Jdbc2SchemaOptionName[] |
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 |
---|
public static final Jdbc2SchemaOptionName DATABASE_NAME
Method Detail |
---|
public static Jdbc2SchemaOptionName[] values()
for (Jdbc2SchemaOptionName c : Jdbc2SchemaOptionName.values()) System.out.println(c);
public static Jdbc2SchemaOptionName valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getName()
getName
in interface OptionName
public boolean isRequired()
public String toString()
toString
in class Enum<Jdbc2SchemaOptionName>
public static void checkRequiredOptions(ControllerState controllerState) throws SourceTransformerException
controllerState
- the current controller state, not null.
SourceTransformerException
- if a required option is not set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |