public enum TelephoneDeviceTypeEnum extends Enum<TelephoneDeviceTypeEnum>
Java class for TelephoneDeviceTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TelephoneDeviceTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="LandLine"/> <enumeration value="Mobile"/> <enumeration value="Fax"/> <enumeration value="Pager"/> </restriction> </simpleType>
Modifier and Type | Method and Description |
---|---|
static TelephoneDeviceTypeEnum |
fromValue(String v) |
String |
value() |
static TelephoneDeviceTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TelephoneDeviceTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TelephoneDeviceTypeEnum LAND_LINE
public static final TelephoneDeviceTypeEnum MOBILE
public static final TelephoneDeviceTypeEnum FAX
public static final TelephoneDeviceTypeEnum PAGER
public static TelephoneDeviceTypeEnum[] values()
for (TelephoneDeviceTypeEnum c : TelephoneDeviceTypeEnum.values()) System.out.println(c);
public static TelephoneDeviceTypeEnum 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 TelephoneDeviceTypeEnum fromValue(String v)
Copyright © 2017. All rights reserved.