public static enum VendaImovel.SistemaAmortizacao extends java.lang.Enum<VendaImovel.SistemaAmortizacao>
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
codigo |
private java.lang.String |
descricao |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCodigo() |
java.lang.String |
getDescricao() |
static VendaImovel.SistemaAmortizacao |
load(java.lang.String codigo) |
static VendaImovel.SistemaAmortizacao |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VendaImovel.SistemaAmortizacao[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VendaImovel.SistemaAmortizacao PRICE
public static final VendaImovel.SistemaAmortizacao SAC
public static VendaImovel.SistemaAmortizacao[] values()
for (VendaImovel.SistemaAmortizacao c : VendaImovel.SistemaAmortizacao.values()) System.out.println(c);
public static VendaImovel.SistemaAmortizacao 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 VendaImovel.SistemaAmortizacao load(java.lang.String codigo)
public java.lang.Long getCodigo()
public java.lang.String getDescricao()