BlackBerry Administration API
v5.0.3.29

com.rim.bes.basplugin.mdss.dto
Enum ConnectionErrorEnumType

Package class diagram package ConnectionErrorEnumType
java.lang.Object
  extended by java.lang.Enum<ConnectionErrorEnumType>
      extended by com.rim.bes.basplugin.mdss.dto.ConnectionErrorEnumType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ConnectionErrorEnumType>

public enum ConnectionErrorEnumType
extends java.lang.Enum<ConnectionErrorEnumType>

Java class for ConnectionErrorEnumType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="ConnectionErrorEnumType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="NONE"/>
     <enumeration value="SLIP_HANDSHAKE"/>
     <enumeration value="UNKNOWN_HOST"/>
     <enumeration value="CONNECTION_REFUSED"/>
     <enumeration value="REMOTE"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
CONNECTION_REFUSED
           
NONE
           
REMOTE
           
SLIP_HANDSHAKE
           
UNKNOWN_HOST
           
 
Method Summary
static ConnectionErrorEnumType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static ConnectionErrorEnumType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ConnectionErrorEnumType[] 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

NONE

public static final ConnectionErrorEnumType NONE

SLIP_HANDSHAKE

public static final ConnectionErrorEnumType SLIP_HANDSHAKE

UNKNOWN_HOST

public static final ConnectionErrorEnumType UNKNOWN_HOST

CONNECTION_REFUSED

public static final ConnectionErrorEnumType CONNECTION_REFUSED

REMOTE

public static final ConnectionErrorEnumType REMOTE
Method Detail

values

public static ConnectionErrorEnumType[] 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 (ConnectionErrorEnumType c : ConnectionErrorEnumType.values())
    System.out.println(c);

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

valueOf

public static ConnectionErrorEnumType 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

value

public java.lang.String value()

fromValue

public static ConnectionErrorEnumType fromValue(java.lang.String v)

BlackBerry Administration API
v5.0.3.29

Copyright 2009 Research In Motion Limited. All Rights Reserved.