com.ibm.cics.model
Enum IProgramDefinition.UsageValue

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

public static enum IProgramDefinition.UsageValue
extends java.lang.Enum<IProgramDefinition.UsageValue>
implements ICICSEnum

Enumeration type for field USAGE


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

NORMAL

public static final IProgramDefinition.UsageValue NORMAL

TRANSIENT

public static final IProgramDefinition.UsageValue TRANSIENT

_UNSPECIFIED

public static final IProgramDefinition.UsageValue _UNSPECIFIED

_UNSUPPORTED

public static final IProgramDefinition.UsageValue _UNSUPPORTED

_UNEXPECTED

public static final IProgramDefinition.UsageValue _UNEXPECTED
Method Detail

values

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

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

valueOf

public static IProgramDefinition.UsageValue 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

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.