Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.model
Class DeliveryContextType

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


public class DeliveryContextType
extends java.lang.Object

DeliveryContextType is a type-safe enumeration of delivery context types.

See Also:
PhysicalDevice

Field Summary
static DeliveryContextType ALL
Represents the ALL delivery context type
static DeliveryContextType BROWSER
Represents the BROWSER delivery context type
static DeliveryContextType Email
Represents the EMAIL delivery context type
static DeliveryContextType EMS
Represents the EMS delivery context type
static DeliveryContextType FAX
Represents the FAX delivery context type
static DeliveryContextType J2ME
Represents the J2ME delivery context type
static DeliveryContextType MMS
Represents the MMS delivery context type
static DeliveryContextType PAGING
Represents the PAGING delivery context type
static DeliveryContextType SMS
Represents the SMS delivery context type
static DeliveryContextType VOICE
Represents the VOICE delivery context type
static DeliveryContextType WAP
Represents the WAP delivery context type
static DeliveryContextType WAP_PUSH
Represents the WAP_PUSH delivery context type

Constructor Summary
DeliveryContextType(java.lang.String name)
Creates a new DeliveryContextType for the specified name

Method Summary
boolean equals(java.lang.Object o)
Checks for object equality with the specified object
static DeliveryContextType[] getAllTypes()
Return all the available DeliveryContextTypes.
java.lang.String getName()
returnt the name of the context
int hashCode()
Returns the hashCode of this object
static DeliveryContextType lookup(java.lang.String name)
Returns the DeliveryContextType for the specified name
java.lang.String toString()
Returns a String representation of this object

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

Field Detail

ALL

public static final DeliveryContextType ALL
Represents the ALL delivery context type

BROWSER

public static final DeliveryContextType BROWSER
Represents the BROWSER delivery context type

Email

public static final DeliveryContextType Email
Represents the EMAIL delivery context type

EMS

public static final DeliveryContextType EMS
Represents the EMS delivery context type

FAX

public static final DeliveryContextType FAX
Represents the FAX delivery context type

J2ME

public static final DeliveryContextType J2ME
Represents the J2ME delivery context type

MMS

public static final DeliveryContextType MMS
Represents the MMS delivery context type

PAGING

public static final DeliveryContextType PAGING
Represents the PAGING delivery context type

SMS

public static final DeliveryContextType SMS
Represents the SMS delivery context type

VOICE

public static final DeliveryContextType VOICE
Represents the VOICE delivery context type

WAP

public static final DeliveryContextType WAP
Represents the WAP delivery context type

WAP_PUSH

public static final DeliveryContextType WAP_PUSH
Represents the WAP_PUSH delivery context type

Constructor Detail

DeliveryContextType

public DeliveryContextType(java.lang.String name)
Creates a new DeliveryContextType for the specified name
Parameters:
name - name of the context

Method Detail

equals

public boolean equals(java.lang.Object o)
Checks for object equality with the specified object
Parameters:
o - the object to be checked for
Returns:
true if the argument is a DeliveryContextType and name of the specified DeliveryContextType is same as this DeliveryContextType

getAllTypes

public static DeliveryContextType[] getAllTypes()
Return all the available DeliveryContextTypes.
Returns:
all the available DeliveryContextTypes.

getName

public java.lang.String getName()
returnt the name of the context

hashCode

public int hashCode()
Returns the hashCode of this object
Returns:
the hash code of this object

lookup

public static DeliveryContextType lookup(java.lang.String name)
Returns the DeliveryContextType for the specified name
Parameters:
name - name of the DeliveryContextType
Returns:
the DeliveryContextType value for the given name

toString

public java.lang.String toString()
Returns a String representation of this object
Returns:
the String representation of this DeliveryContextType

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.