newTask.setVerb(Verb.getVerb(Constants.Verb.SUPPLY));
newTask.setVerb(Verb.get(Constants.Verb.SUPPLY));
  protected NewTask createNewDemandTask(Task parentTask, Asset consumed,                                        long start, long end, double qty,    GeolocLocationImpl loc, String org, String type, MaintainedItem item) {    Vector prefs = createDemandPreferences(start, end, qty);    NewTask newTask = getPlanningFactory().newTask();    newTask.setParentTask(parentTask);    newTask.setPlan(parentTask.getPlan());    // Build Prepositional Phrases and add to task    Vector pps = new Vector();    PrepositionalPhraseImpl pp = new PrepositionalPhraseImpl();    pp.setPreposition(Constants.Preposition.FOR);    pp.setIndirectObject(org);    pps.add(pp);    pp = new PrepositionalPhraseImpl();    pp.setPreposition(Constants.Preposition.TO);    pp.setIndirectObject(loc);    pps.add(pp);    pp = new PrepositionalPhraseImpl();    pp.setPreposition(Constants.Preposition.MAINTAINING);    pp.setIndirectObject(item);    pps.add(pp);    pp = new PrepositionalPhraseImpl();    pp.setPreposition(Constants.Preposition.OFTYPE);    pp.setIndirectObject(type);    pps.add(pp);    newTask.setPrepositionalPhrases(pps.elements());    newTask.setDirectObject(consumed);    newTask.setVerb(Verb.getVerb(Constants.Verb.SUPPLY));    newTask.setPreferences(prefs.elements());    newTask.setContext(parentTask.getContext());    newTask.setCommitmentDate(new Date(end));    return newTask;  }