org.apache.qpid.qmf
Enum CompletionCode

java.lang.Object
  extended by java.lang.Enum<CompletionCode>
      extended by org.apache.qpid.qmf.CompletionCode
All Implemented Interfaces:
Serializable, Comparable<CompletionCode>

public enum CompletionCode
extends Enum<CompletionCode>


Enum Constant Summary
EXCEPTION
           
FEATURE_NOT_IMPLEMENTED
           
FORBIDDEN
           
INVALID_PARAMETER
           
NOT_IMPLEMENTED
           
OK
           
UNKNOWN_CLASS
           
UNKNOWN_METHOD
           
UNKNOWN_OBJECT
           
UNKNOWN_PACKAGE
           
 
Method Summary
static CompletionCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CompletionCode[] 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

OK

public static final CompletionCode OK

UNKNOWN_OBJECT

public static final CompletionCode UNKNOWN_OBJECT

UNKNOWN_METHOD

public static final CompletionCode UNKNOWN_METHOD

NOT_IMPLEMENTED

public static final CompletionCode NOT_IMPLEMENTED

INVALID_PARAMETER

public static final CompletionCode INVALID_PARAMETER

FEATURE_NOT_IMPLEMENTED

public static final CompletionCode FEATURE_NOT_IMPLEMENTED

FORBIDDEN

public static final CompletionCode FORBIDDEN

EXCEPTION

public static final CompletionCode EXCEPTION

UNKNOWN_PACKAGE

public static final CompletionCode UNKNOWN_PACKAGE

UNKNOWN_CLASS

public static final CompletionCode UNKNOWN_CLASS
Method Detail

values

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

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

valueOf

public static CompletionCode valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Licensed to the Apache Software Foundation