@CodingStyleguideUnaware public enum NameTypeCodeEnumType extends Enum<NameTypeCodeEnumType>
Java class for NameTypeCodeEnumType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="NameTypeCodeEnumType">
<restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
<enumeration value="CurrentName"/>
<enumeration value="FormerName"/>
<enumeration value="BirthName"/>
<enumeration value="Alias"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ALIAS |
BIRTH_NAME |
CURRENT_NAME |
FORMER_NAME |
| Modifier and Type | Method and Description |
|---|---|
static NameTypeCodeEnumType |
fromValue(String v) |
String |
value() |
static NameTypeCodeEnumType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NameTypeCodeEnumType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NameTypeCodeEnumType CURRENT_NAME
public static final NameTypeCodeEnumType FORMER_NAME
public static final NameTypeCodeEnumType BIRTH_NAME
public static final NameTypeCodeEnumType ALIAS
public static NameTypeCodeEnumType[] values()
for (NameTypeCodeEnumType c : NameTypeCodeEnumType.values()) System.out.println(c);
public static NameTypeCodeEnumType 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 NameTypeCodeEnumType fromValue(String v)
Copyright © 2016–2020 Philip Helger. All rights reserved.