|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CommentsInsertionOptionValues>
com.ibm.pdp.maf.rpp.pac.common.CommentsInsertionOptionValues
public enum CommentsInsertionOptionValues
List of options for comments insertion in generated programs.
Enum Constant Summary | |
---|---|
_N
Default option when the Library is created. |
|
_O
Same as the Y value. |
|
_S
The titles and frames of functions or subfunctions, and the inserted comments ('*' operator) are ignored at generation time. |
|
_Y
The titles and frames of functions or subfunctions, and the inserted comments (' * ' operator) are present in the generated COBOL. |
Method Summary | |
---|---|
static CommentsInsertionOptionValues |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CommentsInsertionOptionValues[] |
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 CommentsInsertionOptionValues _N
Default option when the Library is created. Same as the S value. However for the Pacbench C/S and OLSD functions, the inserted comments lines ('*' operator) are included in the generated COBOL.
public static final CommentsInsertionOptionValues _O
Same as the Y value. However in the Batch Applications function, the punctuation of comments is not calculated; it varies according to the block type present on these lines.
public static final CommentsInsertionOptionValues _S
The titles and frames of functions or subfunctions, and the inserted comments ('*' operator) are ignored at generation time.
public static final CommentsInsertionOptionValues _Y
The titles and frames of functions or subfunctions, and the inserted comments (' * ' operator) are present in the generated COBOL.
Moreover punctuation is automatically calculated for comment lines which do not include a block type.
The block type of the next processing is then taken into account for this calculation.
Method Detail |
---|
public static CommentsInsertionOptionValues 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 CommentsInsertionOptionValues[] values()
for (CommentsInsertionOptionValues c : CommentsInsertionOptionValues.values()) System.out.println(c);
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |