public enum PersonType extends java.lang.Enum<PersonType>
| Enum Constant and Description |
|---|
LEGAL
LEGAL user type.
|
NATURAL
NATURAL user type.
|
NotSpecified
Not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static PersonType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PersonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersonType NotSpecified
public static final PersonType NATURAL
public static final PersonType LEGAL
public static PersonType[] values()
for (PersonType c : PersonType.values()) System.out.println(c);
public static 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 null