public enum ElectronicCommunicationUsage extends Enum<ElectronicCommunicationUsage>
| Enum Constant and Description |
|---|
ANSWERING_SERVICE |
EMERGENCY_CONTACT |
HOME |
MOBILE_CONTACT |
PAGER |
PRIMARY_HOME |
UNDEFINED |
VACATION_HOME |
WORKPLACE |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getName() |
static ElectronicCommunicationUsage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElectronicCommunicationUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElectronicCommunicationUsage UNDEFINED
public static final ElectronicCommunicationUsage HOME
public static final ElectronicCommunicationUsage PRIMARY_HOME
public static final ElectronicCommunicationUsage VACATION_HOME
public static final ElectronicCommunicationUsage WORKPLACE
public static final ElectronicCommunicationUsage ANSWERING_SERVICE
public static final ElectronicCommunicationUsage EMERGENCY_CONTACT
public static final ElectronicCommunicationUsage MOBILE_CONTACT
public static final ElectronicCommunicationUsage PAGER
public static ElectronicCommunicationUsage[] values()
for (ElectronicCommunicationUsage c : ElectronicCommunicationUsage.values()) System.out.println(c);
public static ElectronicCommunicationUsage 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 getCode()
public String getName()
Copyright © 2021. All rights reserved.