org.onebusaway.gtfs.serialization.mappings
Class RouteAgencyFieldMappingFactory
java.lang.Object
org.onebusaway.gtfs.serialization.mappings.RouteAgencyFieldMappingFactory
- All Implemented Interfaces:
- org.onebusaway.csv_entities.schema.FieldMappingFactory
public class RouteAgencyFieldMappingFactory
- extends Object
- implements org.onebusaway.csv_entities.schema.FieldMappingFactory
Responsible for setting the Route.setAgency(Agency) from a csv
"agency_id" field in "routes.txt" and vice-versa.
- Author:
- bdferris
- See Also:
Route.setAgency(Agency)
|
Method Summary |
org.onebusaway.csv_entities.schema.FieldMapping |
createFieldMapping(org.onebusaway.csv_entities.schema.EntitySchemaFactory schemaFactory,
Class<?> entityType,
String csvFieldName,
String objFieldName,
Class<?> objFieldType,
boolean required)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RouteAgencyFieldMappingFactory
public RouteAgencyFieldMappingFactory()
createFieldMapping
public org.onebusaway.csv_entities.schema.FieldMapping createFieldMapping(org.onebusaway.csv_entities.schema.EntitySchemaFactory schemaFactory,
Class<?> entityType,
String csvFieldName,
String objFieldName,
Class<?> objFieldType,
boolean required)
- Specified by:
createFieldMapping in interface org.onebusaway.csv_entities.schema.FieldMappingFactory
Copyright © 2011 OneBusAway. All Rights Reserved.