Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


waggle.common.modules.device.enums
Enum XDeviceType

java.lang.Object
  extended by java.lang.Enum<XDeviceType>
      extended by waggle.common.modules.device.enums.XDeviceType

All Implemented Interfaces:
Serializable, Comparable<XDeviceType>

public enum XDeviceType
extends Enum<XDeviceType>

The Device types.


Enum Constant Summary
APNS
          APNS (iPhone) push devices.
BPSS
          BPSS (BlackBerry) push devices.
EMAIL
          EMail devices.
SMS
          SMS push devices.

 

Method Summary
static XDeviceType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XDeviceType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

EMAIL

public static final XDeviceType EMAIL
EMail devices.

SMS

public static final XDeviceType SMS
SMS push devices.

APNS

public static final XDeviceType APNS
APNS (iPhone) push devices.

BPSS

public static final XDeviceType BPSS
BPSS (BlackBerry) push devices.

Method Detail

values

public static XDeviceType[] 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 (XDeviceType c : XDeviceType.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XDeviceType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.