private void addUnitTaxCalculationInfoClone(final TaxCalculationInfo taxCalInfo,final TaxCalculationInfo clone){
  final List<UnitTaxCalculationInfo> units=new ArrayList<UnitTaxCalculationInfo>();
  final List<UnitTaxCalculationInfo> unitsByDate=new ArrayList<UnitTaxCalculationInfo>();
  for (  final UnitTaxCalculationInfo unitInfo : taxCalInfo.getUnitTaxCalculationInfos()) {
    final UnitTaxCalculationInfo newUnitInfo=getUnitTaxCalculationInfoClone(unitInfo);
    unitsByDate.add(newUnitInfo);
  }
  clone.setUnitTaxCalculationInfo(units);
}

private void addUnitTaxCalculationInfoClone ( final TaxCalculationInfo taxCalInfo , final TaxCalculationInfo clone ) { final List < UnitTaxCalculationInfo > units = new ArrayList < UnitTaxCalculationInfo > ( ) ; final List < UnitTaxCalculationInfo > unitsByDate = new ArrayList < UnitTaxCalculationInfo > ( ) ; for ( final UnitTaxCalculationInfo unitInfo : taxCalInfo . getUnitTaxCalculationInfos ( ) ) { final UnitTaxCalculationInfo newUnitInfo = getUnitTaxCalculationInfoClone ( unitInfo ) ; unitsByDate . add ( newUnitInfo ) ; } clone . setUnitTaxCalculationInfo ( units ) ; }
adds the unittaxcalculationinfo clones to clone
