public static enum AccessPoint.AccessPointType extends Enum<AccessPoint.AccessPointType>
| Enum Constant and Description |
|---|
NUMBER_RANGE
The access point has a range of (phone) numbers.
|
SINGLE_ADDRESS
The access point is a single address.
|
| Modifier and Type | Method and Description |
|---|---|
static AccessPoint.AccessPointType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessPoint.AccessPointType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessPoint.AccessPointType SINGLE_ADDRESS
public static final AccessPoint.AccessPointType NUMBER_RANGE
public static AccessPoint.AccessPointType[] values()
for (AccessPoint.AccessPointType c : AccessPoint.AccessPointType.values()) System.out.println(c);
public static AccessPoint.AccessPointType 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 nullCopyright © 2009,2013 Oracle and/or its affiliates. All rights reserved.