com.ibm.cics.model
Enum IDB2Connection.StandbymodeValue

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

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

Enumeration type for field STANDBYMODE


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.ibm.cics.model.ICICSEnum
ICICSEnum.Direction
 
Enum Constant Summary
_UNEXPECTED
           
_UNSPECIFIED
           
_UNSUPPORTED
           
CONNECT
           
NOCONNECT
           
RECONNECT
           
 
Method Summary
 ICICSEnum.Direction getDirection()
           
 boolean isSpecialValue()
           
static IDB2Connection.StandbymodeValue valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IDB2Connection.StandbymodeValue[] 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

NOCONNECT

public static final IDB2Connection.StandbymodeValue NOCONNECT

CONNECT

public static final IDB2Connection.StandbymodeValue CONNECT

RECONNECT

public static final IDB2Connection.StandbymodeValue RECONNECT

_UNSPECIFIED

public static final IDB2Connection.StandbymodeValue _UNSPECIFIED

_UNSUPPORTED

public static final IDB2Connection.StandbymodeValue _UNSUPPORTED

_UNEXPECTED

public static final IDB2Connection.StandbymodeValue _UNEXPECTED
Method Detail

values

public static final IDB2Connection.StandbymodeValue[] 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.StandbymodeValue c : IDB2Connection.StandbymodeValue.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.StandbymodeValue 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.