return opconInfos;
  private NonOverlappingTimeSpanSet buildOpConInfos(NonOverlappingTimeSpanSet orgActivities) {    NonOverlappingTimeSpanSet opconInfos = new NonOverlappingTimeSpanSet();    String currentOpCon = null;        Relationship adConRelationship = getAdConRelationship();    Organization adCon = null;    if (adConRelationship == null) {      myLogger.error("buildOpConInfos - no AdConRelationship.");    } else {      adCon =         (Organization) getSelfOrg().getRelationshipSchedule().getOther(adConRelationship);          if (myLogger.isDebugEnabled()) {	myLogger.debug("adConRelationship = " + adConRelationship);      }    }    String adconName =       adCon.getItemIdentificationPG().getItemIdentification();    String opconName;    long startTime;    long endTime;    if (orgActivities.isEmpty()) {      if (adCon != null) {	OpConInfo adconInfo = 	  new OpConInfo(adconName,			adConRelationship.getStartTime(),			adConRelationship.getEndTime());	opconInfos.add(adconInfo);      }      return opconInfos;    }        OrgActivity firstOrgActivity = (OrgActivity) orgActivities.first();    if ((adCon!= null) &&	(firstOrgActivity.getStartTime() > 	 adConRelationship.getStartTime())) {      // Start with adcon Info      opconName = adconName;      startTime = adConRelationship.getStartTime();      endTime = adConRelationship.getEndTime();    } else {      opconName = firstOrgActivity.getOpCon();      startTime = firstOrgActivity.getStartTime();      endTime = firstOrgActivity.getEndTime();    }          for (Iterator iterator = orgActivities.iterator();	 iterator.hasNext();) {      OrgActivity orgActivity = (OrgActivity) iterator.next();      if (!orgActivity.getOpCon().equals(opconName)) {	OpConInfo opConInfo = new OpConInfo(opconName, startTime, 					    endTime);	opconInfos.add(opConInfo);	opconName = orgActivity.getOpCon();	startTime = orgActivity.getStartTime();      } 	      endTime = orgActivity.getEndTime();     }    if ((adCon == null) || 	(adConRelationship.getEndTime() < endTime)) {	OpConInfo opConInfo = new OpConInfo(opconName, startTime, 					    endTime);	opconInfos.add(opConInfo);    } else {      if (!opconName.equals(adconName)) {	OpConInfo opConInfo = new OpConInfo(opconName, startTime, 					    endTime);	opconInfos.add(opConInfo);	startTime = endTime;      }             OpConInfo opConInfo = new OpConInfo(adconName, startTime, 					  adConRelationship.getEndTime());      opconInfos.add(opConInfo);    }        if (myLogger.isDebugEnabled()) {      myLogger.debug("buildOpConInfos returning  " + 		     opconInfos);    }    return opconInfos;  }