public static enum Person.PersonType extends java.lang.Enum<Person.PersonType>
Enum Constant and Description |
---|
FULL |
LOCATION_MEMBER |
Modifier and Type | Method and Description |
---|---|
static Person.PersonType |
forValue(java.lang.String value) |
java.lang.String |
toString() |
static Person.PersonType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Person.PersonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Person.PersonType FULL
public static final Person.PersonType LOCATION_MEMBER
public static Person.PersonType[] values()
for (Person.PersonType c : Person.PersonType.values()) System.out.println(c);
public static Person.PersonType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Person.PersonType>
public static Person.PersonType forValue(java.lang.String value)