public enum ClientRequisitesType extends java.lang.Enum<ClientRequisitesType>
| Enum Constant and Description |
|---|
EMAIL
Электронная почта
|
PHONE
Телефон
|
| Modifier and Type | Method and Description |
|---|---|
static ClientRequisitesType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientRequisitesType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientRequisitesType EMAIL
public static final ClientRequisitesType PHONE
public static ClientRequisitesType[] values()
for (ClientRequisitesType c : ClientRequisitesType.values()) System.out.println(c);
public static ClientRequisitesType 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