Class FareProductFieldMappingFactory

java.lang.Object
org.onebusaway.gtfs.serialization.mappings.FareProductFieldMappingFactory
All Implemented Interfaces:
FieldMappingFactory

public class FareProductFieldMappingFactory extends Object implements FieldMappingFactory
Fare products have a composite primary key of

- fare product id - fare medium id (nullable) - rider category id (nullable)

So if you want this library to look up the fare product instance you need to supply all of these, hence we need a custom mapping factory.