|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ReportOperationValues>
com.ibm.pdp.maf.rpp.pac.report.ReportOperationValues
public 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 |
---|
public static final ReportOperationValues _0
19 as century.
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'.
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'.
public static final ReportOperationValues _C
Date format XX/YY/ZZZZ. A date with a format XXYYZZZZ becomes XX/YY/ZZZZ.
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.
public static final ReportOperationValues _E
Date XXYYZZZZ becomes YY/XX/ZZZZ
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.
public static final ReportOperationValues _M
This default value is for Move. This option is used to transfer the source data to the Data Element.
public static final ReportOperationValues _R
This option provides a rounded result on the calculation.
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.
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.
public static final ReportOperationValues _U
With this option, the data is transferred with user-defined procedures.
public static final ReportOperationValues NONE
public static final ReportOperationValues PLUS
Add.
COMPUTE is generated.
public static final ReportOperationValues SLASH
Divide.
COMPUTE is generated.
public static final ReportOperationValues STAR
Multiply.
COMPUTE is generated.
public static final ReportOperationValues TIRET
Substract.
COMPUTE is generated.
Method Detail |
---|
public static ReportOperationValues valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static ReportOperationValues[] values()
for (ReportOperationValues c : ReportOperationValues.values()) System.out.println(c);
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |