net.java.ao.schema.ddl
Enum DDLActionType
java.lang.Object
java.lang.Enum<DDLActionType>
net.java.ao.schema.ddl.DDLActionType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DDLActionType>
public enum DDLActionType
- extends java.lang.Enum<DDLActionType>
- Author:
- Daniel Spiewak
|
Method Summary |
static DDLActionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DDLActionType[] |
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 |
CREATE
public static final DDLActionType CREATE
DROP
public static final DDLActionType DROP
ALTER_ADD_COLUMN
public static final DDLActionType ALTER_ADD_COLUMN
ALTER_CHANGE_COLUMN
public static final DDLActionType ALTER_CHANGE_COLUMN
ALTER_DROP_COLUMN
public static final DDLActionType ALTER_DROP_COLUMN
ALTER_ADD_KEY
public static final DDLActionType ALTER_ADD_KEY
ALTER_DROP_KEY
public static final DDLActionType ALTER_DROP_KEY
values
public static DDLActionType[] 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 (DDLActionType c : DDLActionType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DDLActionType 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