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