Module org.eclipse.persistence.jpa
Enum EntityManagerSetupImpl.TableCreationType
- java.lang.Object
-
- java.lang.Enum<EntityManagerSetupImpl.TableCreationType>
-
- org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.TableCreationType
-
- All Implemented Interfaces:
Serializable,Comparable<EntityManagerSetupImpl.TableCreationType>
- Enclosing class:
- EntityManagerSetupImpl
protected static enum EntityManagerSetupImpl.TableCreationType extends Enum<EntityManagerSetupImpl.TableCreationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATEDROPDROP_AND_CREATEEXTENDNONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EntityManagerSetupImpl.TableCreationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EntityManagerSetupImpl.TableCreationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final EntityManagerSetupImpl.TableCreationType NONE
-
CREATE
public static final EntityManagerSetupImpl.TableCreationType CREATE
-
DROP
public static final EntityManagerSetupImpl.TableCreationType DROP
-
DROP_AND_CREATE
public static final EntityManagerSetupImpl.TableCreationType DROP_AND_CREATE
-
EXTEND
public static final EntityManagerSetupImpl.TableCreationType EXTEND
-
-
Method Detail
-
values
public static EntityManagerSetupImpl.TableCreationType[] 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 (EntityManagerSetupImpl.TableCreationType c : EntityManagerSetupImpl.TableCreationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityManagerSetupImpl.TableCreationType 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
-
-