params.add(parentPlugin.getScheduleUtils().createOrgActivitySchedule((Collection)list.next()));
Schedule orgActSched = parentPlugin.getScheduleUtils().createOrgActivitySchedule((Collection)list.next()); params.add(orgActSched); if (myOrgName.indexOf("35-ARBN") >= 0) { System.out.println("getParamSched() OrgActSched "+orgActSched); }
  public Schedule getParameterSchedule(Collection col, TimeSpan span) {    Schedule paramSchedule = null;    Vector params = new Vector();    Iterator predList = col.iterator();    UnaryPredicate predicate;    while (predList.hasNext()) {      Iterator list = ((Collection)predList.next()).iterator();      predicate = (UnaryPredicate)list.next();      if (predicate instanceof ConsumerPredicate) {	Schedule consumerSched = 	  parentPlugin.getScheduleUtils().createConsumerSchedule((Collection)list.next()); 	params.add(parentPlugin.getScheduleUtils().convertQuantitySchedule(consumerSched));      } else if (predicate instanceof OrgActivityPred) { 	params.add(parentPlugin.getScheduleUtils().createOrgActivitySchedule((Collection)list.next()));      } else { 	logger.error("getParameterSchedule: unknown predicate");      }    }    paramSchedule = parentPlugin.getScheduleUtils().getMergedSchedule(params);    if (mergedSchedule == null) {      return paramSchedule;    }    return null; // diff'ed schedule  }