public static enum SequenceElement.Argument extends Enum<SequenceElement.Argument>
| Enum Constant and Description |
|---|
CYCLE
CYCLE argument. |
INCREMENT_BY
INCREMENT_BY argument. |
MAXVALUE
MAXVALUE argument. |
MINVALUE
MINVALUE argument. |
START_WITH
START_WITH argument. |
| Modifier and Type | Method and Description |
|---|---|
String |
getSql(Object value)
Returns SQL for argument with the specified
value. |
String |
toString() |
static SequenceElement.Argument |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SequenceElement.Argument[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SequenceElement.Argument START_WITH
START_WITH argument.public static final SequenceElement.Argument INCREMENT_BY
INCREMENT_BY argument.public static final SequenceElement.Argument MINVALUE
MINVALUE argument.public static final SequenceElement.Argument MAXVALUE
MAXVALUE argument.public static final SequenceElement.Argument CYCLE
CYCLE argument.public static SequenceElement.Argument[] values()
for (SequenceElement.Argument c : SequenceElement.Argument.values()) System.out.println(c);
public static SequenceElement.Argument 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 getSql(Object value)
value.value - argument valuepublic String toString()
toString in class Enum<SequenceElement.Argument>Copyright © 2023 CURS. All rights reserved.