Class MasterDetailProcessor

    • Constructor Detail

      • MasterDetailProcessor

        public MasterDetailProcessor​(RowPlacement rowPlacement,
                                     ObjectRowListProcessor detailProcessor)
        Creates a MasterDetailProcessor
        Parameters:
        rowPlacement - indication whether the master records are placed in relation its detail records in the input.
        
         Master record (Totals)       Master record (Totals)
          above detail records         under detail records
        
            Totals | 100                 Item   | 60
            Item   | 60                  Item   | 40
            Item   | 40                  Totals | 100
         

        detailProcessor - the ObjectRowListProcessor that processes detail rows.