return ((schedule.getOtherRole(relationship).getName().endsWith(roleSuffix)) && ((relationship.getStartTime() < endTime) && (relationship.getEndTime() > startTime)));
return ((schedule.getOtherRole(relationship).equals(role)) && (schedule.getOther(relationship).equals(other)) && ((relationship.getStartTime() < timeSpan.getEndTime()) && (relationship.getEndTime() > timeSpan.getStartTime())));
      public boolean execute(Object obj) {        Relationship relationship = (Relationship)obj;        return ((schedule.getOtherRole(relationship).getName().endsWith(roleSuffix)) &&                ((relationship.getStartTime() < endTime) &&                 (relationship.getEndTime() > startTime)));      }