org.lexgrid.loader.rrf.staging.populatorstep
Class PopulatorStepFactory

java.lang.Object
  extended by org.lexgrid.loader.rrf.staging.populatorstep.PopulatorStepFactory
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean

public class PopulatorStepFactory
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean

A factory for creating PopulatorStep objects.


Constructor Summary
PopulatorStepFactory()
           
 
Method Summary
 DatabaseType getDatabaseType()
          Gets the database type.
 java.lang.Object getObject()
           
 java.lang.Class getObjectType()
           
 java.util.Map<DatabaseType,org.springframework.batch.core.Step> getPopulatorSteps()
          Gets the populator steps.
 boolean isSingleton()
           
 void setDatabaseType(DatabaseType databaseType)
          Sets the database type.
 void setPopulatorSteps(java.util.Map<DatabaseType,org.springframework.batch.core.Step> populatorSteps)
          Sets the populator steps.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopulatorStepFactory

public PopulatorStepFactory()
Method Detail

getObject

public java.lang.Object getObject()
                           throws java.lang.Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
java.lang.Exception

getObjectType

public java.lang.Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

getDatabaseType

public DatabaseType getDatabaseType()
Gets the database type.

Returns:
the database type

setDatabaseType

public void setDatabaseType(DatabaseType databaseType)
Sets the database type.

Parameters:
databaseType - the new database type

getPopulatorSteps

public java.util.Map<DatabaseType,org.springframework.batch.core.Step> getPopulatorSteps()
Gets the populator steps.

Returns:
the populator steps

setPopulatorSteps

public void setPopulatorSteps(java.util.Map<DatabaseType,org.springframework.batch.core.Step> populatorSteps)
Sets the populator steps.

Parameters:
populatorSteps - the populator steps

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.