use of org.onebusaway.csv_entities.schema.beans.CsvEntityMappingBean in project onebusaway-gtfs-modules by OneBusAway.
the class GtfsEntitySchemaFactory method createEntitySchemaFactory.
public static DefaultEntitySchemaFactory createEntitySchemaFactory() {
DefaultEntitySchemaFactory factory = new DefaultEntitySchemaFactory();
EntitySchemaFactoryHelper helper = new EntitySchemaFactoryHelper(factory);
CsvEntityMappingBean agencyId = helper.addEntity(AgencyAndId.class);
helper.addIgnorableField(agencyId, "agencyId");
return factory;
}
Aggregations