Class UpdateStopNameFromParentStationIfInvalidStrategy
java.lang.Object
org.onebusaway.gtfs_transformer.updates.UpdateStopNameFromParentStationIfInvalidStrategy
- All Implemented Interfaces:
GtfsTransformStrategy
public class UpdateStopNameFromParentStationIfInvalidStrategy
extends Object
implements GtfsTransformStrategy
Some providers use platform numbers for stop names inside stations. As this is not wanted,
replace the stop name with the parent station name instead, leaving the platform number as is.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()voidrun(TransformContext context, GtfsMutableRelationalDao dao) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.onebusaway.gtfs_transformer.services.GtfsTransformStrategy
updateReadSchema, updateWriteSchema
-
Constructor Details
-
UpdateStopNameFromParentStationIfInvalidStrategy
public UpdateStopNameFromParentStationIfInvalidStrategy()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceGtfsTransformStrategy
-
run
- Specified by:
runin interfaceGtfsTransformStrategy
-