public enum ModalidadePrazo extends Enum<ModalidadePrazo>
Classe Java de modalidadePrazo.
O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
<simpleType name="modalidadePrazo"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="HOR"/> <enumeration value="DIA"/> <enumeration value="MES"/> <enumeration value="ANO"/> <enumeration value="DATA_CERTA"/> <enumeration value="SEMPRAZO"/> </restriction> </simpleType>
Enum Constant and Description |
---|
ANO |
DATA_CERTA |
DIA |
HOR |
MES |
SEMPRAZO |
Modifier and Type | Method and Description |
---|---|
static ModalidadePrazo |
fromValue(String v) |
String |
value() |
static ModalidadePrazo |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModalidadePrazo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModalidadePrazo HOR
public static final ModalidadePrazo DIA
public static final ModalidadePrazo MES
public static final ModalidadePrazo ANO
public static final ModalidadePrazo DATA_CERTA
public static final ModalidadePrazo SEMPRAZO
public static ModalidadePrazo[] values()
for (ModalidadePrazo c : ModalidadePrazo.values()) System.out.println(c);
public static ModalidadePrazo valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static ModalidadePrazo fromValue(String v)
Copyright © 2019 Conselho Nacional de Justiça. All rights reserved.