-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #186 from conveyal/merge-feed-versions-mtc
Merge (current/future) feed versions for MTC
- Loading branch information
Showing
32 changed files
with
1,603 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/main/java/com/conveyal/datatools/manager/gtfsplus/CalendarAttribute.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.conveyal.datatools.manager.gtfsplus; | ||
|
||
import com.conveyal.gtfs.model.Entity; | ||
|
||
import javax.naming.OperationNotSupportedException; | ||
import java.sql.PreparedStatement; | ||
import java.sql.SQLException; | ||
|
||
public class CalendarAttribute extends Entity { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
public String service_id; | ||
public String service_description; | ||
|
||
@Override public void setStatementParameters(PreparedStatement statement, boolean setDefaultId) { | ||
throw new UnsupportedOperationException( | ||
"Cannot call setStatementParameters because loading a GTFS+ table into RDBMS is unsupported."); | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
src/main/java/com/conveyal/datatools/manager/gtfsplus/Direction.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.conveyal.datatools.manager.gtfsplus; | ||
|
||
import com.conveyal.gtfs.model.Entity; | ||
|
||
import java.sql.PreparedStatement; | ||
import java.sql.SQLException; | ||
|
||
public class Direction extends Entity { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
public String route_id; | ||
public int direction_id; | ||
public String direction; | ||
|
||
|
||
@Override | ||
public void setStatementParameters(PreparedStatement statement, boolean setDefaultId) throws SQLException { | ||
throw new UnsupportedOperationException( | ||
"Cannot call setStatementParameters because loading a GTFS+ table into RDBMS is unsupported."); | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
src/main/java/com/conveyal/datatools/manager/gtfsplus/FareRiderCategory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package com.conveyal.datatools.manager.gtfsplus; | ||
|
||
import com.conveyal.gtfs.model.Entity; | ||
|
||
import java.sql.PreparedStatement; | ||
import java.sql.SQLException; | ||
import java.time.LocalDate; | ||
|
||
public class FareRiderCategory extends Entity { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
public String fare_id; | ||
public int rider_category_id; | ||
public double price; | ||
public LocalDate expiration_date; | ||
public LocalDate commencement_date; | ||
|
||
@Override | ||
public void setStatementParameters(PreparedStatement statement, boolean setDefaultId) throws SQLException { | ||
throw new UnsupportedOperationException( | ||
"Cannot call setStatementParameters because loading a GTFS+ table into RDBMS is unsupported."); | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
src/main/java/com/conveyal/datatools/manager/gtfsplus/FareZoneAttribute.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.conveyal.datatools.manager.gtfsplus; | ||
|
||
import com.conveyal.gtfs.model.Entity; | ||
|
||
import java.sql.PreparedStatement; | ||
import java.sql.SQLException; | ||
|
||
public class FareZoneAttribute extends Entity { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
public String zone_id; | ||
public String zone_name; | ||
|
||
@Override | ||
public void setStatementParameters(PreparedStatement statement, boolean setDefaultId) throws SQLException { | ||
throw new UnsupportedOperationException( | ||
"Cannot call setStatementParameters because loading a GTFS+ table into RDBMS is unsupported."); | ||
} | ||
} |
Oops, something went wrong.