org.onebusaway.gtfs.csv.schema.FieldMapping Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of onebusaway-gtfs Show documentation
Show all versions of onebusaway-gtfs Show documentation
A Java library for reading and writing General Transit Feed Spec feeds
package org.onebusaway.gtfs.csv.schema;
import org.onebusaway.gtfs.csv.CsvEntityContext;
import java.util.Collection;
import java.util.Map;
public interface FieldMapping {
public int getOrder();
public void setOrder(int order);
public void getCSVFieldNames(Collection names);
public void translateFromCSVToObject(CsvEntityContext context,
Map csvValues, BeanWrapper object);
public void translateFromObjectToCSV(CsvEntityContext context,
BeanWrapper object, Map csvValues);
}