public enum CreateStrategy extends java.lang.Enum<CreateStrategy>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDBOperation() |
static CreateStrategy |
getDefaultCreateStrategy() |
java.lang.String |
getLabel() |
boolean |
isDefaultStrategy() |
static CreateStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CreateStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateStrategy INSERT
public static final CreateStrategy UPDATE
public static final CreateStrategy UPSERT
public static CreateStrategy[] values()
for (CreateStrategy c : CreateStrategy.values()) System.out.println(c);
public static CreateStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CreateStrategy getDefaultCreateStrategy()
public java.lang.String getDBOperation()
public java.lang.String getLabel()
public boolean isDefaultStrategy()