}
return trackT;
}
private CourseT createCourse(TcxRoute route, String routeName, int startIndex, int endIndex) {
CourseT courseT = new ObjectFactory().createCourseT();
courseT.setName(routeName);
courseT.setNotes(GENERATED_BY);
courseT.getLap().add(createCourseLap(route, startIndex, endIndex));
courseT.getTrack().add(createTrack(route, startIndex, endIndex));
return courseT;
}