Package net.java.ao.schema.ddl
Enum DDLActionType
- All Implemented Interfaces:
Serializable,Comparable<DDLActionType>,java.lang.constant.Constable
Specifies a specific DDL action type in a database-agnostic
manner. This enum contains all of the DDL action types
supported by ActiveObjects, regardless of the fact that not
all databases support all of these actions.
- Author:
- Daniel Spiewak
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic DDLActionTypeReturns 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.
-
Enum Constant Details
-
CREATE
-
DROP
-
ALTER_ADD_COLUMN
-
ALTER_CHANGE_COLUMN
-
ALTER_DROP_COLUMN
-
ALTER_ADD_KEY
-
ALTER_DROP_KEY
-
CREATE_INDEX
-
DROP_INDEX
-
INSERT
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-