return newObjectSchedule(published_tasks.elements()); }
    protected Schedule createProjectionSchedule(Task maintainInv) {	Task task;	Vector published_tasks = new Vector();	PlanElement pe = maintainInv.getPlanElement();	Date now = new Date(getAlpTime());	if ((pe != null) && (pe instanceof Expansion)) {	    Expansion expansion;	    expansion = (Expansion)pe;	    Workflow wf = expansion.getWorkflow();	    Enumeration tasks = wf.getTasks();	    while (tasks.hasMoreElements()) {		task = (Task)tasks.nextElement();		if (task.getVerb().equals(Constants.Verb.PROJECTSUPPLY) && task.beforeCommitment(now)) {		    published_tasks.add(task);		}	    }	}	return newObjectSchedule(published_tasks.elements());    }