private NewTask createProjectSupplyTask(Task parentTask, Asset consumer, Asset consumedItem, long start, long end, Rate rate) {
private NewTask createProjectSupplyTask(Task parentTask, Asset consumer, Asset consumedItem, long start, long end, Rate rate) { logger.info("GenerateProjectionsExpander create ProjectSupply Task ");
  private NewTask createProjectSupplyTask(Task parentTask, Asset consumer, Asset consumedItem, long start, long end, Rate rate) {    NewTask newTask = getPlanningFactory().newTask();    newTask.setParentTask(parentTask);    newTask.setPlan(parentTask.getPlan());    newTask.setDirectObject(consumedItem);    newTask.setVerb(Verb.getVerb(Constants.Verb.PROJECTSUPPLY));    Vector prefs = new Vector();    prefs.addElement(TaskUtils.createDemandRatePreference(getPlanningFactory(), rate));    // start and end from schedule element    prefs.addElement(createTimePreference(start, AspectType.START_TIME));    prefs.addElement(createTimePreference(end, AspectType.END_TIME));    newTask.setPreferences(prefs.elements());    Enumeration parentPhrases = parentTask.getPrepositionalPhrases();    Vector childPhrases = createPrepPhrases(consumer, parentTask);    if (parentPhrases.hasMoreElements()) {      newTask.setPrepositionalPhrases(addPrepositionalPhrase(parentPhrases, childPhrases).elements());    } else {      newTask.setPrepositionalPhrases(childPhrases.elements());    }    return newTask;  }