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

Interface DLine

  • All Superinterfaces:
    Element


    public interface DLine
    extends Element

    The -D Lines describe the composition of a layout for the current Report, especially its categories and edition lines.

    • Method Detail

      • getCategoryCondition

        java.lang.String getCategoryCondition()

        This field indicates the conditions relevant for the execution of the Report.

        For IF conditions, use the COBOL format but omit the 'IF'. For AND, OR... use the COBOL format. The period (full stop) is automatically generated and therefore should not be entered.

        Returns:
      • getCategoryID

        java.lang.String getCategoryID()

        The category identifier consists of two alphanumeric characters from AB to ZY (ZZ is prohibited). The code value is used to differentiate categories from one another.

        Report lines are grouped according to the conditions under which they will be printed (totalled lines, detail lines). Leaving gaps in the category sequence will facilitate future modifications. Categories used for the lines containing the totals (Type of total => Total (with a break level from 1 to 9)) can contain several total lines, cannot have a detail line, cannot be repetitive and can contain other ordinary lines.

        Categories containing a detail line with elements to be totalled (Type of total => editable or non-editable detail lines on the Edition line section), can only contain one detail line, cannot contain a total line, cannot be repetitive and can contain other ordinary lines.

        Returns:
      • getCategoryType

        ReportCategoryTypeValues getCategoryType()

        This field is used to identify the type of category: standard, header, repetitive or footer.

        Returns:
      • getComment

        java.lang.String getComment()

        The comments entered in this field refer to the category to be printed. The comments are displayed with the code of the category in the list of categories.

        Returns:
      • getEditionLines

        java.util.List<EditionLine> getEditionLines()

        Indicates the edition lines created in the category.

        Returns:
      • getRepetition

        int getRepetition()

        This field must be completed if the type of category is repetitive so that a subscript, which controls the number of repetitions, is generated.

        This value may be a fixed number or a variable number of repetitions:

        • For a fixed number of repetitions, enter an absolute number value.

        • For a variable number, enter the three-character code for use of a subscript field, defined in the WORKING-STORAGE SECTION of the Program which calls the Report (the values are specified in the Program -CD Lines tab) or use the standard jrrrcc Pacbase index generated for the category: .rrr being the Report code, .cc being the category in the Report (iterative).

        The code is required before printing.

        Returns: