/** * Adds the change order count fields to the current total change order count fields. Serves as * the accumulator for the total of all change orders in an artifact identifier. * * @param tco total change order, fields incremented by change order values * @param coc change order count to add to total */ private void addToTotalChangeOrder(TotalChangeOrders tco, ChangeOrderCount coc) { if (coc == null) return; tco.setBrokenLines(tco.getBrokenLines() + coc.getBrokenLines()); tco.setFixedLines(tco.getFixedLines() + coc.getFixedLines()); tco.setRepairEffort(tco.getRepairEffort() + coc.getRepairEffort()); tco.setValue(tco.getValue() + coc.getValue()); }