Package org.datanucleus.store.schema
Enum SchemaTool.Mode
- java.lang.Object
-
- java.lang.Enum<SchemaTool.Mode>
-
- org.datanucleus.store.schema.SchemaTool.Mode
-
- All Implemented Interfaces:
Serializable
,Comparable<SchemaTool.Mode>
- Enclosing class:
- SchemaTool
public static enum SchemaTool.Mode extends Enum<SchemaTool.Mode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE
CREATE_DATABASE
DATABASE_INFO
DELETE
DELETE_CREATE
DELETE_DATABASE
SCHEMA_INFO
VALIDATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SchemaTool.Mode
valueOf(String name)
Returns the enum constant of this type with the specified name.static SchemaTool.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE_DATABASE
public static final SchemaTool.Mode CREATE_DATABASE
-
DELETE_DATABASE
public static final SchemaTool.Mode DELETE_DATABASE
-
CREATE
public static final SchemaTool.Mode CREATE
-
DELETE
public static final SchemaTool.Mode DELETE
-
DELETE_CREATE
public static final SchemaTool.Mode DELETE_CREATE
-
VALIDATE
public static final SchemaTool.Mode VALIDATE
-
DATABASE_INFO
public static final SchemaTool.Mode DATABASE_INFO
-
SCHEMA_INFO
public static final SchemaTool.Mode SCHEMA_INFO
-
-
Method Detail
-
values
public static SchemaTool.Mode[] 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 (SchemaTool.Mode c : SchemaTool.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchemaTool.Mode valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-