public enum PersonType extends Enum<PersonType>
Enum Constant and Description |
---|
LEGAL_PERSON |
NATURAL_PERSON |
REPV_LEGAL_PERSON |
REPV_NATURAL_PERSON |
Modifier and Type | Method and Description |
---|---|
static PersonType |
fromString(String val) |
String |
getValue() |
static EnumMapper<String,PersonType> |
mapper() |
String |
toString() |
static PersonType |
valueOf(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 NATURAL_PERSON
public static final PersonType LEGAL_PERSON
public static final PersonType REPV_NATURAL_PERSON
public static final PersonType REPV_LEGAL_PERSON
public static PersonType[] values()
for (PersonType c : PersonType.values()) System.out.println(c);
public static PersonType 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 null@Nullable public static PersonType fromString(@Nonnull String val)
public static EnumMapper<String,PersonType> mapper()
public String toString()
toString
in class Enum<PersonType>
Copyright © 2020. All Rights Reserved.