com.ibm.pdp.maf.rpp.pac.program
Enum ProgramStructureValues

java.lang.Object
  extended by java.lang.Enum<ProgramStructureValues>
      extended by com.ibm.pdp.maf.rpp.pac.program.ProgramStructureValues
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProgramStructureValues>

public enum ProgramStructureValues
extends java.lang.Enum<ProgramStructureValues>

List of structures of Program.


Enum Constant Summary
_B
           
_D
           
_F
           
_P
           
_S
           
_T
           
 
Method Summary
static ProgramStructureValues valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProgramStructureValues[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

_B

public static final ProgramStructureValues _B

Batch program structure

It is the default option. It provides the general structure of an iterative program: beginning of loop (F05), end of run (F20), end of loop (F9099. GO TO F05).


_D

public static final ProgramStructureValues _D


_F

public static final ProgramStructureValues _F


_P

public static final ProgramStructureValues _P


_S

public static final ProgramStructureValues _S


_T

public static final ProgramStructureValues _T

Online program structure

This option does not provide an iterative structure: no beginning of loop (F05), no end of run (F20), no end of loop (F9099. GO TO F05).

Method Detail

valueOf

public static ProgramStructureValues 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

values

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

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