public enum CallbackMode extends Enum<CallbackMode>
OpenJPAEntityManager
.Enum Constant and Description |
---|
FAIL_FAST |
IGNORE |
LOG |
RETHROW |
ROLLBACK |
Modifier and Type | Method and Description |
---|---|
(package private) static int |
fromEnumSet(EnumSet<CallbackMode> modes) |
(package private) static EnumSet<CallbackMode> |
toEnumSet(int callback) |
static CallbackMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallbackMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallbackMode FAIL_FAST
public static final CallbackMode IGNORE
public static final CallbackMode LOG
public static final CallbackMode RETHROW
public static final CallbackMode ROLLBACK
public static CallbackMode[] values()
for (CallbackMode c : CallbackMode.values()) System.out.println(c);
public static CallbackMode 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 nullstatic EnumSet<CallbackMode> toEnumSet(int callback)
static int fromEnumSet(EnumSet<CallbackMode> modes)
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.