public enum BancoDadosEnum extends Enum<BancoDadosEnum>
| Modifier and Type | Method and Description |
|---|---|
String |
getValor() |
static BancoDadosEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BancoDadosEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BancoDadosEnum MYSQL
public static final BancoDadosEnum SQLSERVER
public static final BancoDadosEnum MONGODB
public static BancoDadosEnum[] values()
for (BancoDadosEnum c : BancoDadosEnum.values()) System.out.println(c);
public static BancoDadosEnum 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 getValor()
Copyright © 2018. All rights reserved.