task.setVerb(new Verb(verb));
task.setVerb(Verb.get(verb));
  public UserInputTask(UIPlugin uiPlugin, PluginDelegate delegate,		       String destinationName,		       String objectClusterAssetName,		       String objectPhysicalAssetName,		       Vector objectCapabilities,		       int objectAssetQuantity,		       String phrasePreposition,		       String phraseClusterAssetName,		       String phrasePhysicalAssetName,		       Vector phraseCapabilities,		       int phraseAssetQuantity,		       String verb,		       String startDate, String endDate, String bestDate) {    this.uiPlugin = uiPlugin;    this.delegate = delegate;    cof = delegate.getFactory();    myClusterId = delegate.getMessageAddress();    myClusterName = myClusterId.getAddress();    plan = cof.getRealityPlan();    task = cof.newTask();    task.setPlan(plan);    task.setSource(myClusterId);    task.setDestination(uiPlugin.getClusterIdFromName(destinationName));    task.setDirectObject(createAsset(objectClusterAssetName, 				     objectPhysicalAssetName,				     objectCapabilities, 				     objectAssetQuantity));    if (phrasePreposition != "") {      NewPrepositionalPhrase phrase = cof.newPrepositionalPhrase();      phrase.setPreposition(phrasePreposition);      phrase.setIndirectObject(createAsset(phraseClusterAssetName, 					   phrasePhysicalAssetName,					   phraseCapabilities, 					   phraseAssetQuantity));      task.setPrepositionalPhrase(phrase);    }    if (verb != "")      task.setVerb(new Verb(verb));    // set dates in penalty function    //if ((startDate != "") && (endDate != "") && (bestDate != ""))    //  task.setPenaltyFunction(createPenaltyFunction(startDate, endDate, 		//				    bestDate));  }