public enum SchemaGenSource extends Enum<SchemaGenSource>
| Enum Constant and Description | 
|---|
METADATA
"metadata" - The O/RM metadata is used as the exclusive source for generation 
 | 
METADATA_THEN_SCRIPT
"metadata-then-scripts" - Both the O/RM metadata and external DDL scripts are used as sources for generation,
 with the O/RM metadata being applied first. 
 | 
SCRIPT
"script" - External DDL script(s) are used as the exclusive source for generation. 
 | 
SCRIPT_THEN_METADATA
"scripts-then-metadata" - Both the O/RM metadata and external DDL scripts are used as sources for generation,
 with the commands from the external DDL script(s) being applied first 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static SchemaGenSource | 
interpret(String value)
Used when processing JPA configuration to interpret the user config value 
 | 
static SchemaGenSource | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static SchemaGenSource[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final SchemaGenSource METADATA
public static final SchemaGenSource SCRIPT
public static final SchemaGenSource METADATA_THEN_SCRIPT
public static final SchemaGenSource SCRIPT_THEN_METADATA
public static SchemaGenSource[] values()
for (SchemaGenSource c : SchemaGenSource.values()) System.out.println(c);
public static SchemaGenSource valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static SchemaGenSource interpret(String value)
value - The encountered user config valuenull.IllegalArgumentException - If the incoming value is unrecognizedCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.