Package tr.gov.efatura.useraccount
Enum NameTypeCodeEnumType
- java.lang.Object
-
- java.lang.Enum<NameTypeCodeEnumType>
-
- tr.gov.efatura.useraccount.NameTypeCodeEnumType
-
- All Implemented Interfaces:
Serializable,Comparable<NameTypeCodeEnumType>
@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 Summary
Enum Constants Enum Constant Description ALIASBIRTH_NAMECURRENT_NAMEFORMER_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NameTypeCodeEnumTypefromValue(String v)Stringvalue()static NameTypeCodeEnumTypevalueOf(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.
-
-
-
Enum Constant Detail
-
CURRENT_NAME
public static final NameTypeCodeEnumType CURRENT_NAME
-
FORMER_NAME
public static final NameTypeCodeEnumType FORMER_NAME
-
BIRTH_NAME
public static final NameTypeCodeEnumType BIRTH_NAME
-
ALIAS
public static final NameTypeCodeEnumType ALIAS
-
-
Method Detail
-
values
public static NameTypeCodeEnumType[] 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 (NameTypeCodeEnumType c : NameTypeCodeEnumType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NameTypeCodeEnumType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static NameTypeCodeEnumType fromValue(String v)
-
-