public void addSummaryData ( BaseField [ ] [ ] mxDataFields ) { for ( int i = 0 ; i < mxDataFields . length ; i ++ ) { double dAmount = 1 ; if ( mxDataFields [ i ] [ BASIS ] != null ) dAmount = mxDataFields [ i ] [ BASIS ] . getValue ( ) ; mxDataFields [ i ] [ SUMMARY ] . setValue ( mxDataFields [ i ] [ SUMMARY ] . getValue ( ) + dAmount ) ; } }
Move the source data fields to the destinataion data fields .