Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.model
Class DeviceType

java.lang.Object
  |
  +--oracle.panama.model.DeviceType

public class DeviceType
extends java.lang.Object

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.
static void main(java.lang.String[] args)
           

 

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

 

Field Detail

MOBILE_PHONE

public static final DeviceType MOBILE_PHONE
Mobile Phone device.

PHONE

public static final DeviceType PHONE
Regular Phone device.

PDA

public static final DeviceType PDA
PDA device.

PAGER

public static final DeviceType PAGER
Pager device.

EMAIL

public static final DeviceType EMAIL
Email device.

FAX

public static final DeviceType FAX
Fax device.
Method Detail

getName

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

getDeviceTypes

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

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.

main

public static void main(java.lang.String[] args)

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.