com.ibm.pdp.maf.rpp.pac.report
Enum ReportOperationValues

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

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

List of operation types for a source line.


Enum Constant Summary
_0
           
_1
           
_2
           
_C
           
_D
           
_E
           
_I
           
_M
           
_R
           
_S
           
_T
           
_U
           
NONE
           
PLUS
           
SLASH
           
STAR
           
TIRET
           
 
Method Summary
static ReportOperationValues valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ReportOperationValues[] 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

_0

public static final ReportOperationValues _0

19 as century.


_1

public static final ReportOperationValues _1

'19' as century if year < ref. year; '20' otherwise

The century is '19' if the year is lower than the year of reference. If the year is greater than the year of reference, the century is '20'.


_2

public static final ReportOperationValues _2

'20' as century if year < ref. yr; '19' otherwise

The century is '20' if the year is lower than the year of reference. If the year is greater than the year of reference, the century is '19'.


_C

public static final ReportOperationValues _C

Date format XX/YY/ZZZZ. A date with a format XXYYZZZZ becomes XX/YY/ZZZZ.


_D

public static final ReportOperationValues _D

Date format XX/XX/XX. This option prints a date in extended format XX/XX/XX. The target Data Element must be 8 characters long, and the source, 6 characters.


_E

public static final ReportOperationValues _E

Date XXYYZZZZ becomes YY/XX/ZZZZ


_I

public static final ReportOperationValues _I

Date format XX/XX/XX. This option prints a date in extended format XX/XX/XX. The target Data Element must be 8 characters long, and the source, 6 characters.


_M

public static final ReportOperationValues _M

This default value is for Move. This option is used to transfer the source data to the Data Element.


_R

public static final ReportOperationValues _R

This option provides a rounded result on the calculation.


_S

public static final ReportOperationValues _S

With this option, the data is transferred after a table search. If the search is successful, the target Data Element receives data from the table Data Element with the same name. Table search can only be performed from a non-repetitive field which has been defined in the standard way.


_T

public static final ReportOperationValues _T

This option is used when Data Elements are to be totaled, and the total is to be printed. See the -D Lines tab, Edition Line Definition section, Type of totalization field. When the type of line in the Report is:

Detail editable or Detail not editable, the values indicated in the fields of the Source Definition in the -CE Lines tab are added to the value entered in the Data Element code field and moved into the latter Data Element.

Totalization with a break level from 1 to 9, the value indicated in the fields of the Source Definition in the -CE Lines tab are accumulated in either the intermediate totals accumulators, or in the grand total accumulator. When the appropriate break level is attained, and the conditions are true, the total is then moved into the Data Element and the total is printed.

A set of internal accumulators is associated with each Data Element to be totaled. The sum is calculated each time through the processing loop.

If a Data Element is only printed under certain conditions, these conditions also apply to the totaling. The total itself is only be printed on a line designated for totaling. The maximum number of Data Elements to be totaled is 99 per Program.


_U

public static final ReportOperationValues _U

With this option, the data is transferred with user-defined procedures.


NONE

public static final ReportOperationValues NONE


PLUS

public static final ReportOperationValues PLUS

Add.

COMPUTE is generated.


SLASH

public static final ReportOperationValues SLASH

Divide.

COMPUTE is generated.


STAR

public static final ReportOperationValues STAR

Multiply.

COMPUTE is generated.


TIRET

public static final ReportOperationValues TIRET

Substract.

COMPUTE is generated.

Method Detail

valueOf

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

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