com.ibm.cics.model
Enum IDB2Connection.ConnecterrorValue

java.lang.Object
  extended by java.lang.Enum<IDB2Connection.ConnecterrorValue>
      extended by com.ibm.cics.model.IDB2Connection.ConnecterrorValue
All Implemented Interfaces:
ICICSEnum, java.io.Serializable, java.lang.Comparable<IDB2Connection.ConnecterrorValue>
Enclosing interface:
IDB2Connection

public static enum IDB2Connection.ConnecterrorValue
extends java.lang.Enum<IDB2Connection.ConnecterrorValue>
implements ICICSEnum

Enumeration type for field CONNECTERROR


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.ibm.cics.model.ICICSEnum
ICICSEnum.Direction
 
Enum Constant Summary
_UNEXPECTED
           
_UNSPECIFIED
           
_UNSUPPORTED
           
ABEND
           
SQLCODE
           
 
Method Summary
 ICICSEnum.Direction getDirection()
           
 boolean isSpecialValue()
           
static IDB2Connection.ConnecterrorValue valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IDB2Connection.ConnecterrorValue[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ABEND

public static final IDB2Connection.ConnecterrorValue ABEND

SQLCODE

public static final IDB2Connection.ConnecterrorValue SQLCODE

_UNSPECIFIED

public static final IDB2Connection.ConnecterrorValue _UNSPECIFIED

_UNSUPPORTED

public static final IDB2Connection.ConnecterrorValue _UNSUPPORTED

_UNEXPECTED

public static final IDB2Connection.ConnecterrorValue _UNEXPECTED
Method Detail

values

public static final IDB2Connection.ConnecterrorValue[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(IDB2Connection.ConnecterrorValue c : IDB2Connection.ConnecterrorValue.values())
        System.out.println(c);

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

valueOf

public static IDB2Connection.ConnecterrorValue 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

isSpecialValue

public boolean isSpecialValue()
Specified by:
isSpecialValue in interface ICICSEnum
Returns:
true if value is specially created by the explorer

getDirection

public ICICSEnum.Direction getDirection()
Specified by:
getDirection in interface ICICSEnum
Returns:
false if value cannot be used in input


Copyright © 2008-2009 IBM Corp. All Rights Reserved.