public enum OperatingMode extends Enum<OperatingMode>
Enum Constant and Description |
---|
API |
API_ESCAPE |
AT |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
int |
getID()
Returns the operating mode ID.
|
String |
getName()
Returns the operating mode name.
|
String |
toString() |
static OperatingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatingMode API
public static final OperatingMode API_ESCAPE
public static final OperatingMode AT
public static final OperatingMode UNKNOWN
public int getID()
public String toString()
toString
in class Enum<OperatingMode>
public static OperatingMode 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 static OperatingMode[] values()
for (OperatingMode c : OperatingMode.values()) System.out.println(c);
© Copyright 2014–2014 Digi International Inc. All rights reserved.