consumer.getTypeIdentificationPG().getNomenclature());
consumer.getTypeIdentificationPG().getNomenclature()+ ", "+ consumer.getTypeIdentificationPG().getTypeIdentification());
  public void expandGenerateProjections(Task gpTask, Schedule schedule, Asset consumer) {    // TODO: Add diff based planning code    // TODO: document, add logger, handle null checks    // TODO: create method to compare rates and extract tasks based on time, e.g., overlapping schedules    if (consumer instanceof AggregateAsset) {      consumer = ((AggregateAsset) consumer).getAsset();    }    PropertyGroup pg = consumer.searchForPropertyGroup(dfPlugin.getSupplyClassPG());    Collection items = getConsumed(pg);    Collection subTasks = new ArrayList();    Asset consumedItem;    for (Iterator iterator = items.iterator(); iterator.hasNext();) {      consumedItem = (Asset) iterator.next();      Enumeration scheduleElements = schedule.getAllScheduleElements();      Rate rate;      // for every item consumed, walk the schedule elements and get the rates      while (scheduleElements.hasMoreElements()) {        ObjectScheduleElement ose = (ObjectScheduleElement) scheduleElements.nextElement();        rate = getRate(pg, consumedItem, (List) ose.getObject());        // FIXME:  Should we report a warning or is this normal????        if (rate == null)  {          System.out.println("------------------ THE RATE is NULL ------------------------  " +                             consumedItem.getTypeIdentificationPG().getNomenclature());          continue;        }        logger.info("checking Rate on consumed item " + rate.toString());        subTasks.add(createProjectSupplyTask(gpTask, consumer, consumedItem, ose.getStartTime(),                                             ose.getEndTime(), rate));      }    }    System.out.println(" ----------- Size of Subtask Collection " + subTasks.size() +  " consumer "  +                       consumer.getTypeIdentificationPG().getNomenclature());    if (!subTasks.isEmpty()) {      createAndPublishExpansion(gpTask, subTasks);    }  }