com.rapplogic.xbee.api
Enum ModemStatusResponse.Status

java.lang.Object
  extended by java.lang.Enum<ModemStatusResponse.Status>
      extended by com.rapplogic.xbee.api.ModemStatusResponse.Status
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ModemStatusResponse.Status>
Enclosing class:
ModemStatusResponse

public static enum ModemStatusResponse.Status
extends java.lang.Enum<ModemStatusResponse.Status>


Enum Constant Summary
ASSOCIATED
           
COORDINATOR_REALIGNMENT
           
COORDINATOR_STARTED
           
DISASSOCIATED
           
HARDWARE_RESET
           
SYNCHRONIZATION_LOST
           
WATCHDOG_TIMER_RESET
           
 
Method Summary
static ModemStatusResponse.Status get(int value)
           
 int getValue()
           
static ModemStatusResponse.Status valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ModemStatusResponse.Status[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HARDWARE_RESET

public static final ModemStatusResponse.Status HARDWARE_RESET

WATCHDOG_TIMER_RESET

public static final ModemStatusResponse.Status WATCHDOG_TIMER_RESET

ASSOCIATED

public static final ModemStatusResponse.Status ASSOCIATED

DISASSOCIATED

public static final ModemStatusResponse.Status DISASSOCIATED

SYNCHRONIZATION_LOST

public static final ModemStatusResponse.Status SYNCHRONIZATION_LOST

COORDINATOR_REALIGNMENT

public static final ModemStatusResponse.Status COORDINATOR_REALIGNMENT

COORDINATOR_STARTED

public static final ModemStatusResponse.Status COORDINATOR_STARTED
Method Detail

values

public static ModemStatusResponse.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ModemStatusResponse.Status c : ModemStatusResponse.Status.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ModemStatusResponse.Status valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

get

public static ModemStatusResponse.Status get(int value)

getValue

public int getValue()