@CodingStyleguideUnaware public enum ChannelCodeEnumType extends Enum<ChannelCodeEnumType>
Java class for ChannelCodeEnumType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ChannelCodeEnumType">
<restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
<enumeration value="Telephone"/>
<enumeration value="MobileTelephone"/>
<enumeration value="Fax"/>
<enumeration value="Email"/>
<enumeration value="InstantMessage"/>
<enumeration value="Web"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
EMAIL |
FAX |
INSTANT_MESSAGE |
MOBILE_TELEPHONE |
TELEPHONE |
WEB |
| Modifier and Type | Method and Description |
|---|---|
static ChannelCodeEnumType |
fromValue(String v) |
String |
value() |
static ChannelCodeEnumType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelCodeEnumType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelCodeEnumType TELEPHONE
public static final ChannelCodeEnumType MOBILE_TELEPHONE
public static final ChannelCodeEnumType FAX
public static final ChannelCodeEnumType EMAIL
public static final ChannelCodeEnumType INSTANT_MESSAGE
public static final ChannelCodeEnumType WEB
public static ChannelCodeEnumType[] values()
for (ChannelCodeEnumType c : ChannelCodeEnumType.values()) System.out.println(c);
public static ChannelCodeEnumType 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 value()
public static ChannelCodeEnumType fromValue(String v)
Copyright © 2016–2020 Philip Helger. All rights reserved.