mpTask.setVerb(new Verb(Constants.Verb.MAINTAININVENTORY));
mpTask.setVerb(Verb.get(Constants.Verb.MAINTAININVENTORY));
  public NewMPTask createAggTask(Collection parents) {    Task parentTask = null;    Iterator tasks = parents.iterator();    HashSet set = new HashSet();    while (tasks.hasNext()) {      parentTask = (Task)tasks.next();      if (parentTask.getContext() != null) {        set.addAll((ContextOfOplanIds)parentTask.getContext());      }    }    NewMPTask mpTask = inventoryPlugin.getPlanningFactory().newMPTask();    mpTask.setContext(new ContextOfOplanIds(set));    NewComposition composition = inventoryPlugin.getPlanningFactory().newComposition();    composition.setIsPropagating(false);    mpTask.setComposition(composition);    composition.setCombinedTask(mpTask);    mpTask.setVerb(new Verb(Constants.Verb.MAINTAININVENTORY));    aggregateDetermineRequirementsTasks(mpTask, parents);    return mpTask;  }