Added a setType method for TimeTable receiving a TimeTableType