newTask.setVerb(Verb.getVerb(Constants.Verb.PROJECTSUPPLY));
newTask.setVerb(Verb.get(Constants.Verb.PROJECTSUPPLY));
  private NewTask createProjectSupplyTask(Task parentTask, Asset consumer, Asset consumedItem, long start,                                          long end, Rate rate) {    //logger.info("GenerateProjectionsExpander create ProjectSupply Task " + dfPlugin.getClusterId());    NewTask newTask = getPlanningFactory().newTask();    newTask.setParentTask(parentTask);    newTask.setPlan(parentTask.getPlan());    newTask.setDirectObject(consumedItem);    newTask.setVerb(Verb.getVerb(Constants.Verb.PROJECTSUPPLY));    //newTask.setCommitmentDate(new Date(start));    Vector prefs = new Vector();    prefs.addElement(getTaskUtils().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());    Vector childPhrases = createPrepPhrases(consumer, parentTask, end);    newTask.setPrepositionalPhrases(childPhrases.elements());    return newTask;  }