private static void addDecisionTypeByOrgData ( final SimpleDateFormat simpleDateFormat , final DataSeries dataSeries , final Series series , final Map < String , List < ViewRiksdagenCommitteeDecisionTypeOrgDailySummary > > map ) { for ( final Entry < String , List < ViewRiksdagenCommitteeDecisionTypeOrgDailySummary > > entry : map . entrySet ( ) ) { if ( ! EMPTY_STRING . equals ( entry . getKey ( ) ) ) { final XYseries label = new XYseries ( ) ; label . setLabel ( entry . getKey ( ) ) ; series . addSeries ( label ) ; dataSeries . newSeries ( ) ; for ( final ViewRiksdagenCommitteeDecisionTypeOrgDailySummary item : entry . getValue ( ) ) { dataSeries . add ( simpleDateFormat . format ( item . getEmbeddedId ( ) . getDecisionDate ( ) ) , item . getTotal ( ) ) ; } } } }
Adds the decision type by org data .