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 Constructor Description UpdateStopNameFromParentStationIfInvalidStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()voidrun(TransformContext context, GtfsMutableRelationalDao dao)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.onebusaway.gtfs_transformer.services.GtfsTransformStrategy
updateReadSchema, updateWriteSchema
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceGtfsTransformStrategy
-
run
public void run(TransformContext context, GtfsMutableRelationalDao dao)
- Specified by:
runin interfaceGtfsTransformStrategy
-
-