logger.error("getParameterSchedule: unknown predicate");
if (logger.isErrorEnabled()) { logger.error("getParameterSchedule: unknown predicate"); }
  public Schedule getParameterSchedule(Collection col, TimeSpan span) {    Schedule paramSchedule = null;    Vector params = new Vector();    Iterator predList = col.iterator();    UnaryPredicate predicate;    // DEBUG//     String myOrgName = parentPlugin.getMyOrg().getItemIdentificationPG().getItemIdentification();//     if (myOrgName.indexOf("35-ARBN") >= 0) {//       System.out.println("getParamSched() Asset is "+// 			 myPG.getMei().getTypeIdentificationPG().getTypeIdentification());//     }    ArrayList consumerlist = new ArrayList();    consumerlist.add(myPG.getMei());    Schedule consumerSched = parentPlugin.getScheduleUtils().createConsumerSchedule(consumerlist);    consumerSched = parentPlugin.getScheduleUtils().convertQuantitySchedule(consumerSched);    params.add(parentPlugin.getScheduleUtils().trimObjectSchedule(consumerSched, span));    while (predList.hasNext()) {      Iterator list = ((Collection)predList.next()).iterator();      predicate = (UnaryPredicate)list.next();      if (predicate instanceof OrgActivityPred) {        Collection orgColl = (Collection)list.next();        if ((orgColl == null) || (orgColl.isEmpty())) {          return null;        }	Schedule orgActSched = 	  parentPlugin.getScheduleUtils().createOrgActivitySchedule(orgColl);   	params.add(parentPlugin.getScheduleUtils().trimObjectSchedule(orgActSched, span));// 	if (myOrgName.indexOf("35-ARBN") >= 0) {// 	  System.out.println("getParamSched() OrgActSched "+orgActSched);// 	}      } else { 	logger.error("getParameterSchedule: unknown predicate");      }    }    paramSchedule = parentPlugin.getScheduleUtils().getMergedSchedule(params);//     if (myOrgName.indexOf("35-ARBN") >= 0) {//       System.out.println("getParamSched() MERGED "+paramSchedule);//     }    return paramSchedule;  }