return trainingCenterDatabaseT;
}
private TrainingCenterDatabaseT createTrainingCenterDatabase(List<TcxRoute> routes) {
ObjectFactory objectFactory = new ObjectFactory();
TrainingCenterDatabaseT trainingCenterDatabaseT = objectFactory.createTrainingCenterDatabaseT();
CourseListT courseListT = objectFactory.createCourseListT();
trainingCenterDatabaseT.setCourses(courseListT);
List<CourseT> courses = courseListT.getCourse();
Set<String> routeNames = new HashSet<String>(routes.size());
for (TcxRoute route : routes) {
String routeName = createUniqueRouteName(route.getName(), routeNames);