public static enum TipoComissao.TipoDefault extends java.lang.Enum<TipoComissao.TipoDefault>
Enum Constant and Description |
---|
DEFAULT |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
codigo |
private java.lang.String |
label |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCodigo() |
static TipoComissao.TipoDefault |
load(java.lang.String tipoDefault) |
static TipoComissao.TipoDefault |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TipoComissao.TipoDefault[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TipoComissao.TipoDefault DEFAULT
public static TipoComissao.TipoDefault[] values()
for (TipoComissao.TipoDefault c : TipoComissao.TipoDefault.values()) System.out.println(c);
public static TipoComissao.TipoDefault valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static TipoComissao.TipoDefault load(java.lang.String tipoDefault)
public java.lang.String getCodigo()