public enum ConcurrencyType extends Enum<ConcurrencyType>
| Enum Constant and Description |
|---|
optimistic
Indicates a UML Property stores information related optimistic concurrency for its containing UML Class and participates in optimistic concurrency control operations and strategies.
|
origination
Indicates a UML Property stores origination information for its containing UML Class.
|
pessimistic
Indicates a UML Property stores information related to a pessimistic concurrency control strategy (often termed locking) and participates in pessimistic concurrency control operations.
|
| Modifier and Type | Method and Description |
|---|---|
static ConcurrencyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConcurrencyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConcurrencyType optimistic
public static final ConcurrencyType pessimistic
public static final ConcurrencyType origination
public static ConcurrencyType[] values()
for (ConcurrencyType c : ConcurrencyType.values()) System.out.println(c);
public static ConcurrencyType 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 nullCopyright © 2017. All rights reserved.