org.lexgrid.loader.processor
Class EntityProcessor<I>

java.lang.Object
  extended by org.lexgrid.loader.processor.CodingSchemeIdAwareProcessor
      extended by org.lexgrid.loader.processor.EntityProcessor<I>
All Implemented Interfaces:
org.springframework.batch.item.ItemProcessor<I,CodingSchemeIdHolder<Entity>>

public class EntityProcessor<I>
extends CodingSchemeIdAwareProcessor
implements org.springframework.batch.item.ItemProcessor<I,CodingSchemeIdHolder<Entity>>

The Class EntityProcessor.

Author:
Kevin Peterson

Constructor Summary
EntityProcessor()
           
 
Method Summary
 EntityResolver<I> getEntityResolver()
          Gets the entity resolver.
 CodingSchemeIdHolder<Entity> process(I item)
           
 void setEntityResolver(EntityResolver<I> entityResolver)
          Sets the entity resolver.
 
Methods inherited from class org.lexgrid.loader.processor.CodingSchemeIdAwareProcessor
getCodingSchemeIdSetter, setCodingSchemeIdSetter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityProcessor

public EntityProcessor()
Method Detail

process

public CodingSchemeIdHolder<Entity> process(I item)
                                     throws java.lang.Exception
Specified by:
process in interface org.springframework.batch.item.ItemProcessor<I,CodingSchemeIdHolder<Entity>>
Throws:
java.lang.Exception

getEntityResolver

public EntityResolver<I> getEntityResolver()
Gets the entity resolver.

Returns:
the entity resolver

setEntityResolver

public void setEntityResolver(EntityResolver<I> entityResolver)
Sets the entity resolver.

Parameters:
entityResolver - the new entity resolver

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.