org.cipango.diameter.ims
Enum Cx.ReasonCode

java.lang.Object
  extended by java.lang.Enum<Cx.ReasonCode>
      extended by org.cipango.diameter.ims.Cx.ReasonCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Cx.ReasonCode>
Enclosing class:
Cx

public static enum Cx.ReasonCode
extends java.lang.Enum<Cx.ReasonCode>


Enum Constant Summary
NEW_SERVER_ASSIGNED
           
PERMANENT_TERMINATION
           
REMOVE_SCSCF
           
SERVER_CHANGE
           
 
Method Summary
static Cx.ReasonCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Cx.ReasonCode[] 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

PERMANENT_TERMINATION

public static final Cx.ReasonCode PERMANENT_TERMINATION

NEW_SERVER_ASSIGNED

public static final Cx.ReasonCode NEW_SERVER_ASSIGNED

SERVER_CHANGE

public static final Cx.ReasonCode SERVER_CHANGE

REMOVE_SCSCF

public static final Cx.ReasonCode REMOVE_SCSCF
Method Detail

values

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

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

valueOf

public static Cx.ReasonCode 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


Copyright © 2010. All Rights Reserved.