public enum ModalidadeGeneroPessoa extends Enum<ModalidadeGeneroPessoa>
Classe Java de modalidadeGeneroPessoa.
O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
<simpleType name="modalidadeGeneroPessoa"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="M"/> <enumeration value="F"/> <enumeration value="D"/> </restriction> </simpleType>
Modifier and Type | Method and Description |
---|---|
static ModalidadeGeneroPessoa |
fromValue(String v) |
String |
value() |
static ModalidadeGeneroPessoa |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModalidadeGeneroPessoa[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModalidadeGeneroPessoa M
public static final ModalidadeGeneroPessoa F
public static final ModalidadeGeneroPessoa D
public static ModalidadeGeneroPessoa[] values()
for (ModalidadeGeneroPessoa c : ModalidadeGeneroPessoa.values()) System.out.println(c);
public static ModalidadeGeneroPessoa 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 ModalidadeGeneroPessoa fromValue(String v)
Copyright © 2019 Conselho Nacional de Justiça. All rights reserved.