private Set<EgDemandDetails> createAllDmdDetails(final List<Installment> instList,final HashMap<Installment,TaxCalculationInfo> instTaxMap){
  LOGGER.debug("Entered into createAllDmdDeatails");
  final Set<EgDemandDetails> dmdDetSet=new HashSet<EgDemandDetails>();
  for (  final Installment inst : instList) {
    final TaxCalculationInfo taxCalcInfo=instTaxMap.get(inst);
    final Map<String,BigDecimal> taxMap=taxCalculator.getMiscTaxesForProp(taxCalcInfo.getUnitTaxCalculationInfos());
    for (    final Map.Entry<String,BigDecimal> tax : taxMap.entrySet()) {
      final EgDemandReason egDmdRsn=propertyTaxUtil.getDemandReasonByCodeAndInstallment(tax.getKey(),inst);
      dmdDetSet.add(createDemandDetails(tax.getValue(),egDmdRsn,inst));
    }
  }
  LOGGER.debug("createAllDmdDeatails: dmdDetSet: " + dmdDetSet);
  return dmdDetSet;
}

private Set < EgDemandDetails > createAllDmdDetails ( final List < Installment > instList , final HashMap < Installment , TaxCalculationInfo > instTaxMap ) { LOGGER . debug ( "Entered into createAllDmdDeatails" ) ; final Set < EgDemandDetails > dmdDetSet = new HashSet < EgDemandDetails > ( ) ; for ( final Installment inst : instList ) { final TaxCalculationInfo taxCalcInfo = instTaxMap . get ( inst ) ; final Map < String , BigDecimal > taxMap = taxCalculator . getMiscTaxesForProp ( taxCalcInfo . getUnitTaxCalculationInfos ( ) ) ; for ( final Map . Entry < String , BigDecimal > tax : taxMap . entrySet ( ) ) { final EgDemandReason egDmdRsn = propertyTaxUtil . getDemandReasonByCodeAndInstallment ( tax . getKey ( ) , inst ) ; dmdDetSet . add ( createDemandDetails ( tax . getValue ( ) , egDmdRsn , inst ) ) ; } } LOGGER . debug ( "createAllDmdDeatails: dmdDetSet: " + dmdDetSet ) ; return dmdDetSet ; }
creates installment wise demand details
