public static enum TypeMaker.UniquenessConsistency extends Enum<TypeMaker.UniquenessConsistency>
Enum Constant and Description |
---|
LOCK
Acquires a lock to ensure uniqueness consistency.
|
NO_LOCK
Does not acquire a lock and hence concurrent transactions may overwrite existing
uniqueness relations.
|
Modifier and Type | Method and Description |
---|---|
static TypeMaker.UniquenessConsistency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeMaker.UniquenessConsistency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeMaker.UniquenessConsistency NO_LOCK
public static final TypeMaker.UniquenessConsistency LOCK
public static TypeMaker.UniquenessConsistency[] values()
for (TypeMaker.UniquenessConsistency c : TypeMaker.UniquenessConsistency.values()) System.out.println(c);
public static TypeMaker.UniquenessConsistency 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 © 2012-2013. All Rights Reserved.