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

java.lang.Object
  extended by org.lexgrid.loader.processor.CodingSchemeIdAwareProcessor
      extended by org.lexgrid.loader.processor.AbstractSupportedAttributeRegisteringProcessor<I,ParentIdHolder<Property>>
          extended by org.lexgrid.loader.processor.EntityPropertyProcessor<I>
All Implemented Interfaces:
org.springframework.batch.item.ItemProcessor<I,ParentIdHolder<Property>>, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
MrsatPropertyProcessor, MrstyPropertyProcessor

public class EntityPropertyProcessor<I>
extends AbstractSupportedAttributeRegisteringProcessor<I,ParentIdHolder<Property>>
implements org.springframework.beans.factory.InitializingBean

The Class EntityPropertyProcessor.

Author:
Kevin Peterson

Constructor Summary
EntityPropertyProcessor()
           
 
Method Summary
 void afterPropertiesSet()
           
 ParentIdHolder<Property> doProcess(I item)
          Do process.
 EntityKeyResolver getEntityKeyResolver()
           
 PropertyResolver<I> getPropertyResolver()
          Gets the property resolver.
protected  void registerSupportedAttributes(SupportedAttributeTemplate supportedAttributeTemplate, ParentIdHolder<Property> item)
          Register supported attributes.
 void setEntityKeyResolver(EntityKeyResolver entityKeyResolver)
           
 void setPropertyResolver(PropertyResolver<I> propertyResolver)
          Sets the property resolver.
 
Methods inherited from class org.lexgrid.loader.processor.AbstractSupportedAttributeRegisteringProcessor
getSupportedAttributeTemplate, isRegisterSupportedAttributes, process, setRegisterSupportedAttributes, setSupportedAttributeTemplate
 
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

EntityPropertyProcessor

public EntityPropertyProcessor()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

doProcess

public ParentIdHolder<Property> doProcess(I item)
                                   throws java.lang.Exception
Description copied from class: AbstractSupportedAttributeRegisteringProcessor
Do process.

Specified by:
doProcess in class AbstractSupportedAttributeRegisteringProcessor<I,ParentIdHolder<Property>>
Parameters:
item - the item
Returns:
the o
Throws:
java.lang.Exception - the exception

registerSupportedAttributes

protected void registerSupportedAttributes(SupportedAttributeTemplate supportedAttributeTemplate,
                                           ParentIdHolder<Property> item)
Description copied from class: AbstractSupportedAttributeRegisteringProcessor
Register supported attributes.

Specified by:
registerSupportedAttributes in class AbstractSupportedAttributeRegisteringProcessor<I,ParentIdHolder<Property>>
Parameters:
supportedAttributeTemplate - the s
item - the item

getPropertyResolver

public PropertyResolver<I> getPropertyResolver()
Gets the property resolver.

Returns:
the property resolver

setPropertyResolver

public void setPropertyResolver(PropertyResolver<I> propertyResolver)
Sets the property resolver.

Parameters:
propertyResolver - the new property resolver

getEntityKeyResolver

public EntityKeyResolver getEntityKeyResolver()

setEntityKeyResolver

public void setEntityKeyResolver(EntityKeyResolver entityKeyResolver)

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.