}
else { UIQuantityScheduleElement el = getScheduleFromAllocation(er, true); if ((el != null) && (isInactive(allocation, el) == inactive)) { due_outs.addElement(el); } }
  private Vector computeDueOutVectorWVerb(String compareVerb, boolean inactive) {    RoleSchedule roleSchedule = asset.getRoleSchedule();    if(debug) {System.out.println("UIInventoryImpl-Projected Due Outs:");}    if (roleSchedule == null) {      System.out.println("UIInventoryImpl WARNING: no role schedule in asset");      return null;    }    Enumeration e = roleSchedule.getRoleScheduleElements();    if (e == null) {      System.out.println("UIInventoryImpl WARNING: no role schedule in role schedule");      return null;    }    Vector due_outs = new Vector();    while (e.hasMoreElements()) {      Allocation allocation = (Allocation) e.nextElement();      UIQuantityScheduleElement el = getScheduleFromAllocation(allocation.getEstimatedResult(), true);      if (el != null) {        if (isInactive(allocation, el) == inactive) {	  Verb dueOutTaskVerb= allocation.getTask().getVerb();	  if ((dueOutTaskVerb.equals(compareVerb))) {            due_outs.addElement(el); 	  }        }      }    }    return scheduleToNonOverlapVector(due_outs);  }