public static enum RecebimentoDocumento.Categoria extends java.lang.Enum<RecebimentoDocumento.Categoria>
Enum Constant and Description |
---|
BOLETO |
CUPOM |
FATURA |
NOTA_FISCAL |
RECIBO_PJ |
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
codigo |
private java.lang.String |
label |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getCodigo() |
java.lang.String |
getLabel() |
static RecebimentoDocumento.Categoria |
load(java.lang.Integer codigo) |
static RecebimentoDocumento.Categoria |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RecebimentoDocumento.Categoria[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecebimentoDocumento.Categoria NOTA_FISCAL
public static final RecebimentoDocumento.Categoria FATURA
public static final RecebimentoDocumento.Categoria BOLETO
public static final RecebimentoDocumento.Categoria CUPOM
public static final RecebimentoDocumento.Categoria RECIBO_PJ
public static RecebimentoDocumento.Categoria[] values()
for (RecebimentoDocumento.Categoria c : RecebimentoDocumento.Categoria.values()) System.out.println(c);
public static RecebimentoDocumento.Categoria 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 RecebimentoDocumento.Categoria load(java.lang.Integer codigo)
public java.lang.Integer getCodigo()
public java.lang.String getLabel()