else if (ie.getRole() == Constants.Verb.Transit)
else if (ie.getRole() == Constants.Verb.Transport)
  protected static boolean addLegFromItineraryElement(      List toLegsList,       UITaskItineraryElement leg,       ItineraryElement ie,      boolean isDefinitelyNotDirect,      boolean isDefinitelyOverlap)  {    try {      // take the info from the itinerary element      leg.setStartLocation((GeolocLocation)ie.getStartLocation());      leg.setStartAllDates(ie.getStartDate());      leg.setEndLocation((GeolocLocation)ie.getEndLocation());      leg.setEndAllDates(ie.getEndDate());      if (isDefinitelyNotDirect)	  leg.setIsDirectElement(false);      else if (ie.getRole() == Constants.Verb.Transit)	  leg.setIsDirectElement(false);      else	  leg.setIsDirectElement(true);	      if (isDefinitelyOverlap)	  leg.setIsOverlapElement(true);      // If individual legs are ever marked for overlap      // put the marking in here!!      //else if (ie.getRole() == Constants.Verb.Overlap)      //leg.setIsOverlap(true);      else	  leg.setIsOverlapElement(false);      // add to list           toLegsList.add(leg);    } catch (Exception eBadIE) {      System.err.println("PSP_Itinerary: Itinerary Element: "+ie+         " is broken: "+eBadIE);      return false;    }    return true;  }