public static enum Type.EnumBy extends Enum<Type.EnumBy>
| Enum Constant and Description |
|---|
NAME
Persist enumerated type property or field as a string.
|
ORDINAL
Persist enumerated type property or field as an integer.
|
| Modifier and Type | Method and Description |
|---|---|
static Type.EnumBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type.EnumBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type.EnumBy ORDINAL
public static final Type.EnumBy NAME
public static Type.EnumBy[] values()
for (Type.EnumBy c : Type.EnumBy.values()) System.out.println(c);
public static Type.EnumBy 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 © 2021. All rights reserved.