org.onebusaway.gtfs.csv.schema
Class AbstractEntitySchemaFactoryImpl

java.lang.Object
  extended by org.onebusaway.gtfs.csv.schema.AbstractEntitySchemaFactoryImpl
All Implemented Interfaces:
EntitySchemaFactory, ListableCsvMappingFactory
Direct Known Subclasses:
AnnotationDrivenEntitySchemaFactory, DefaultEntitySchemaFactory

public abstract class AbstractEntitySchemaFactoryImpl
extends java.lang.Object
implements EntitySchemaFactory, ListableCsvMappingFactory


Constructor Summary
AbstractEntitySchemaFactoryImpl()
           
 
Method Summary
protected  void applyCsvFieldAnnotationToBean(java.lang.reflect.Field field, CsvFieldMappingBean fieldBean)
           
protected  void applyCsvFieldsAnnotationToBean(java.lang.Class<?> entityClass, CsvEntityMappingBean entityBean)
           
 java.util.Collection<CsvEntityMappingBean> getEntityMappings()
          ListableCsvMappingFactory Interface
 EntitySchema getSchema(java.lang.Class<?> entityClass)
          EntitySchemaFactory Interface
protected abstract  void processBeanDefinitions()
          Protected Methods
protected  void registerBeanDefinition(CsvEntityMappingBean bean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEntitySchemaFactoryImpl

public AbstractEntitySchemaFactoryImpl()
Method Detail

getEntityMappings

public java.util.Collection<CsvEntityMappingBean> getEntityMappings()
ListableCsvMappingFactory Interface

Specified by:
getEntityMappings in interface ListableCsvMappingFactory

getSchema

public EntitySchema getSchema(java.lang.Class<?> entityClass)
EntitySchemaFactory Interface

Specified by:
getSchema in interface EntitySchemaFactory

processBeanDefinitions

protected abstract void processBeanDefinitions()
Protected Methods


registerBeanDefinition

protected void registerBeanDefinition(CsvEntityMappingBean bean)

applyCsvFieldsAnnotationToBean

protected void applyCsvFieldsAnnotationToBean(java.lang.Class<?> entityClass,
                                              CsvEntityMappingBean entityBean)

applyCsvFieldAnnotationToBean

protected void applyCsvFieldAnnotationToBean(java.lang.reflect.Field field,
                                             CsvFieldMappingBean fieldBean)


Copyright © 2011 OneBusAway. All Rights Reserved.