public enum AccessPointStatus extends Enum<AccessPointStatus> implements Serializable
Modifier and Type | Method and Description |
---|---|
static AccessPointStatus |
get(int id)
get
|
static AccessPointStatus |
get(String label)
get
|
int |
getId()
getId
|
String |
getLabel()
getLabel
|
static List<String> |
names() |
static AccessPointStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessPointStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessPointStatus UNKNOWN
public static final AccessPointStatus ONLINE
public static final AccessPointStatus OFFLINE
public static AccessPointStatus[] values()
for (AccessPointStatus c : AccessPointStatus.values()) System.out.println(c);
public static AccessPointStatus 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 int getId()
getId
public static AccessPointStatus get(int id)
get
id
- a int.AccessPointStatus
object.public static AccessPointStatus get(String label)
get
label
- a String
object.AccessPointStatus
object.Copyright © 2015. All Rights Reserved.