@SkipValidation public DCBDisplayInfo prepareDisplayInfo(){
  DCBDisplayInfo dcbDispInfo=new DCBDisplayInfo();
  LOGGER.debug("Entered into method prepareDisplayInfo");
  List<String> reasonCategoryCodes=new ArrayList<String>();
  reasonCategoryCodes.add(PropertyTaxConstants.REASON_CATEGORY_CODE_TAX);
  reasonCategoryCodes.add(PropertyTaxConstants.REASON_CATEGORY_CODE_PENALTY);
  reasonCategoryCodes.add(PropertyTaxConstants.REASON_CATEGORY_CODE_FINES);
  reasonCategoryCodes.add(PropertyTaxConstants.REASON_CATEGORY_CODE_ADVANCE);
  dcbDispInfo.setReasonCategoryCodes(reasonCategoryCodes);
  List<String> reasonList=new ArrayList<String>();
  reasonList.addAll(ORDERED_DEMAND_RSNS_LIST);
  reasonList.remove(PropertyTaxConstants.DEMANDRSN_CODE_ADVANCE);
  dcbDispInfo.setReasonMasterCodes(reasonList);
  LOGGER.debug("DCB Display Info : " + dcbDispInfo);
  LOGGER.debug("Number of Demand Reasons : " + (reasonList != null ? reasonList.size() : ZERO));
  LOGGER.debug("Exit from method prepareDisplayInfo");
  return dcbDispInfo;
}

@ SkipValidation public DCBDisplayInfo prepareDisplayInfo ( ) { DCBDisplayInfo dcbDispInfo = new DCBDisplayInfo ( ) ; LOGGER . debug ( "Entered into method prepareDisplayInfo" ) ; List < String > reasonCategoryCodes = new ArrayList < String > ( ) ; reasonCategoryCodes . add ( PropertyTaxConstants . REASON_CATEGORY_CODE_TAX ) ; reasonCategoryCodes . add ( PropertyTaxConstants . REASON_CATEGORY_CODE_PENALTY ) ; reasonCategoryCodes . add ( PropertyTaxConstants . REASON_CATEGORY_CODE_FINES ) ; reasonCategoryCodes . add ( PropertyTaxConstants . REASON_CATEGORY_CODE_ADVANCE ) ; dcbDispInfo . setReasonCategoryCodes ( reasonCategoryCodes ) ; List < String > reasonList = new ArrayList < String > ( ) ; reasonList . addAll ( ORDERED_DEMAND_RSNS_LIST ) ; reasonList . remove ( PropertyTaxConstants . DEMANDRSN_CODE_ADVANCE ) ; dcbDispInfo . setReasonMasterCodes ( reasonList ) ; LOGGER . debug ( "DCB Display Info : " + dcbDispInfo ) ; LOGGER . debug ( "Number of Demand Reasons : " + ( reasonList != null ? reasonList . size ( ) : ZERO ) ) ; LOGGER . debug ( "Exit from method prepareDisplayInfo" ) ; return dcbDispInfo ; }
to set dcbdispinfo with reasoncategorycodes as tax and penalty . here reasonmastercodes could also be set to dcbdispinfo .
