public enum SequenceStrategy extends Enum<SequenceStrategy>
| Enum Constant and Description |
|---|
CONTIGUOUS |
NONCONTIGUOUS |
NONTRANSACTIONAL |
| Modifier and Type | Method and Description |
|---|---|
static SequenceStrategy |
getStrategy(String value)
Return Sequence strategy from String.
|
String |
toString() |
static SequenceStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SequenceStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SequenceStrategy NONTRANSACTIONAL
public static final SequenceStrategy CONTIGUOUS
public static final SequenceStrategy NONCONTIGUOUS
public static SequenceStrategy[] values()
for (SequenceStrategy c : SequenceStrategy.values()) System.out.println(c);
public static SequenceStrategy 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 toString()
toString in class Enum<SequenceStrategy>public static SequenceStrategy getStrategy(String value)
value - sequence strategyCopyright © 2019. All rights reserved.