Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.model
Class DeviceType

java.lang.Object
  extended byoracle.panama.model.DeviceType


public class DeviceType
extends java.lang.Object

A DeviceType represents the type of the user device - mobile phone, PDA, pager, etc.

See Also:
UserDevice

Field Summary
static DeviceType EMAIL
Email device.
static DeviceType FAX
Fax device.
static DeviceType MOBILE_PHONE
Mobile Phone device.
static DeviceType PAGER
Pager device.
static DeviceType PDA
PDA device.
static DeviceType PHONE
Regular Phone device.

Method Summary
static DeviceType getDeviceType(java.lang.String name)
Gets the device type that matches the given name.
static java.util.Enumeration getDeviceTypes()
Gets the enumeration of the device types constructed so far.
java.lang.String getName()
Gets the name of the device type.

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

Field Detail

EMAIL

public static final DeviceType EMAIL
Email device.

FAX

public static final DeviceType FAX
Fax device.

MOBILE_PHONE

public static final DeviceType MOBILE_PHONE
Mobile Phone device.

PAGER

public static final DeviceType PAGER
Pager device.

PDA

public static final DeviceType PDA
PDA device.

PHONE

public static final DeviceType PHONE
Regular Phone device.

Method Detail

getDeviceType

public static DeviceType getDeviceType(java.lang.String name)
Gets the device type that matches the given name.
Returns:
the device type found. Could be null if the given name does not match anything.

getDeviceTypes

public static java.util.Enumeration getDeviceTypes()
Gets the enumeration of the device types constructed so far.

getName

public java.lang.String getName()
Gets the name of the device type.
Returns:
the name of the device type.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.