public enum EnumerationType extends Enum<EnumerationType>
Enum.| Enum Constant and Description |
|---|
AUTO
O mapeamento depende do valor.
|
ORDINAL
O
Enum é um inteiro. |
STRING
|
| Modifier and Type | Method and Description |
|---|---|
static EnumerationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumerationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumerationType AUTO
public static final EnumerationType ORDINAL
Enum é um inteiro.public static final EnumerationType STRING
public static EnumerationType[] values()
for (EnumerationType c : EnumerationType.values()) System.out.println(c);
public static EnumerationType 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 © 2018 Brandao. All rights reserved.