public static enum PersonalDocumentData.TypeEnum extends Enum<PersonalDocumentData.TypeEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
PersonalDocumentData.TypeEnum.Adapter |
| Enum Constant and Description |
|---|
DRIVINGLICENSE |
ID |
PASSPORT |
SOCIALSECURITY |
VISA |
| Modifier and Type | Method and Description |
|---|---|
static PersonalDocumentData.TypeEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static PersonalDocumentData.TypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersonalDocumentData.TypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersonalDocumentData.TypeEnum DRIVINGLICENSE
public static final PersonalDocumentData.TypeEnum ID
public static final PersonalDocumentData.TypeEnum PASSPORT
public static final PersonalDocumentData.TypeEnum SOCIALSECURITY
public static final PersonalDocumentData.TypeEnum VISA
public static PersonalDocumentData.TypeEnum[] values()
for (PersonalDocumentData.TypeEnum c : PersonalDocumentData.TypeEnum.values()) System.out.println(c);
public static PersonalDocumentData.TypeEnum 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 getValue()
public String toString()
toString in class Enum<PersonalDocumentData.TypeEnum>public static PersonalDocumentData.TypeEnum fromValue(String text)
Copyright © 2022. All rights reserved.