org.eclipse.jpt.eclipselink.core.context.persistence.schema.generation
Enum OutputMode
java.lang.Object
java.lang.Enum<OutputMode>
org.eclipse.jpt.eclipselink.core.context.persistence.schema.generation.OutputMode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<OutputMode>
public enum OutputMode
- extends java.lang.Enum<OutputMode>
OutputMode
|
Field Summary |
static java.lang.String |
BOTH
|
static java.lang.String |
DATABASE
|
static java.lang.String |
SQL_SCRIPT
|
|
Method Summary |
static OutputMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OutputMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
both
public static final OutputMode both
sql_script
public static final OutputMode sql_script
database
public static final OutputMode database
BOTH
public static final java.lang.String BOTH
- See Also:
- Constant Field Values
DATABASE
public static final java.lang.String DATABASE
- See Also:
- Constant Field Values
SQL_SCRIPT
public static final java.lang.String SQL_SCRIPT
- See Also:
- Constant Field Values
values
public static final OutputMode[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(OutputMode c : OutputMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static OutputMode 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