Enum UserServiceTransaction.DeletedObjectOutcome
- java.lang.Object
-
- java.lang.Enum<UserServiceTransaction.DeletedObjectOutcome>
-
- com.orchestranetworks.userservice.UserServiceTransaction.DeletedObjectOutcome
-
- All Implemented Interfaces:
Serializable
,Comparable<UserServiceTransaction.DeletedObjectOutcome>
- Enclosing interface:
- UserServiceTransaction
public static enum UserServiceTransaction.DeletedObjectOutcome extends Enum<UserServiceTransaction.DeletedObjectOutcome>
Enumeration for specifying the outcome of a transaction when the underlying data, of the object being updated, was deleted by another thread.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserServiceTransaction.DeletedObjectOutcome
valueOf(String name)
Returns the enum constant of this type with the specified name.static UserServiceTransaction.DeletedObjectOutcome[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IGNORE
public static final UserServiceTransaction.DeletedObjectOutcome IGNORE
The transaction will proceed with no warnings.
-
WARNING
public static final UserServiceTransaction.DeletedObjectOutcome WARNING
The user interface will automatically report a warning.
-
FAIL
public static final UserServiceTransaction.DeletedObjectOutcome FAIL
The transaction will fail.
-
-
Method Detail
-
values
public static UserServiceTransaction.DeletedObjectOutcome[] 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 (UserServiceTransaction.DeletedObjectOutcome c : UserServiceTransaction.DeletedObjectOutcome.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserServiceTransaction.DeletedObjectOutcome 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
-
-