public static enum Name.GenderEnum extends Enum<Name.GenderEnum>
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Name.GenderEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Name.GenderEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="MALE") public static final Name.GenderEnum MALE
@SerializedName(value="FEMALE") public static final Name.GenderEnum FEMALE
@SerializedName(value="UNKNOWN") public static final Name.GenderEnum UNKNOWN
public static Name.GenderEnum[] values()
for (Name.GenderEnum c : Name.GenderEnum.values()) System.out.println(c);
public static Name.GenderEnum 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 toString()
toString in class Enum<Name.GenderEnum>Copyright © 2017. All rights reserved.