public enum Conflict extends Enum<Conflict>
Enum Constant and Description |
---|
ABORT |
FAIL |
IGNORE |
REPLACE |
ROLLBACK |
Modifier and Type | Method and Description |
---|---|
String |
getSql() |
static Conflict |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Conflict[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Conflict ROLLBACK
public static final Conflict ABORT
public static final Conflict FAIL
public static final Conflict IGNORE
public static final Conflict REPLACE
public static Conflict[] values()
for (Conflict c : Conflict.values()) System.out.println(c);
public static Conflict valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getSql()
Copyright © 2015. All Rights Reserved.