org.onebusaway.csv_entities.schema
Interface SingleFieldMapping

All Superinterfaces:
FieldMapping
All Known Implementing Classes:
AbstractFieldMapping, DefaultFieldMapping

public interface SingleFieldMapping
extends FieldMapping

Defines a mapping between a single column of a CSV table and a single field of a Java bean.

Author:
bdferris

Method Summary
 String getCsvFieldName()
           
 String getObjFieldName()
           
 
Methods inherited from interface org.onebusaway.csv_entities.schema.FieldMapping
getCSVFieldNames, getOrder, isMissingAndOptional, isMissingAndOptional, translateFromCSVToObject, translateFromObjectToCSV
 

Method Detail

getCsvFieldName

String getCsvFieldName()
Returns:
the CSV name of the mapped field.

getObjFieldName

String getObjFieldName()
Returns:
the Java bean name of the mapped field.


Copyright © 2012 OneBusAway. All Rights Reserved.