Enum UF
- java.lang.Object
-
- java.lang.Enum<UF>
-
- br.com.gestimoveis.gprojetos.model.UF
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescricao()
java.lang.String
getSigla()
void
setDescricao(java.lang.String descricao)
void
setSigla(java.lang.String sigla)
static UF
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UF[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AC
public static final UF AC
-
AL
public static final UF AL
-
AM
public static final UF AM
-
BA
public static final UF BA
-
CE
public static final UF CE
-
DF
public static final UF DF
-
ES
public static final UF ES
-
GO
public static final UF GO
-
MA
public static final UF MA
-
MT
public static final UF MT
-
MS
public static final UF MS
-
MG
public static final UF MG
-
PA
public static final UF PA
-
PB
public static final UF PB
-
PR
public static final UF PR
-
PE
public static final UF PE
-
PI
public static final UF PI
-
RJ
public static final UF RJ
-
RN
public static final UF RN
-
RS
public static final UF RS
-
RO
public static final UF RO
-
RR
public static final UF RR
-
SC
public static final UF SC
-
SP
public static final UF SP
-
SE
public static final UF SE
-
TO
public static final UF TO
-
-
Method Detail
-
values
public static UF[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UF c : UF.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UF valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getSigla
public java.lang.String getSigla()
-
setSigla
public void setSigla(java.lang.String sigla)
-
getDescricao
public java.lang.String getDescricao()
-
setDescricao
public void setDescricao(java.lang.String descricao)
-
-