Class TimeTableDataManager

java.lang.Object
jmri.jmrit.timetable.TimeTableDataManager

public class TimeTableDataManager
extends Object
Provide data base management services.

The data structure was migrated from a MySQL database. As such, it contains tables implemented as TreeMaps and records implemented as Classes. The logical relationships are handled using foreign keys.

 Data Structure:
   Layout -- Global data.
     TrainTypes -- Assigned to trains for diagram colors.
     Segments -- Used for division / sub-division arrangements.
       Stations -- Any place a train can stop.
     Schedules -- Basic information about a schedule.
       Trains -- Train characteristics.
         Stops -- A junction between a train and a station that contains arrival and departure times.