public enum SituacaoContas extends java.lang.Enum<SituacaoContas>
Enum Constant and Description |
---|
A_PROGRAMAR |
PROGRAMADOS |
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 SituacaoContas |
load(java.lang.Integer situacaoContas) |
static SituacaoContas |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SituacaoContas[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SituacaoContas A_PROGRAMAR
public static final SituacaoContas PROGRAMADOS
public static SituacaoContas[] values()
for (SituacaoContas c : SituacaoContas.values()) System.out.println(c);
public static SituacaoContas 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 SituacaoContas load(java.lang.Integer situacaoContas)
public java.lang.Integer getCodigo()
public java.lang.String getLabel()