gov.nih.nci.caarray.services.util.dataconverter.mapper.fieldmappers
Class Date2NameValueTypeFieldMapper

java.lang.Object
  extended by gov.nih.nci.caarray.services.util.dataconverter.mapper.FieldMapper
      extended by gov.nih.nci.caarray.services.util.dataconverter.mapper.fieldmappers.Date2NameValueTypeFieldMapper

public class Date2NameValueTypeFieldMapper
extends FieldMapper

Author:
TranP

Constructor Summary
Date2NameValueTypeFieldMapper(ClassMapper classMapper, SimpleField sourceField, SimpleField targetField)
           
 
Method Summary
 void map(java.lang.Object sourceObject, java.lang.Object targetObject, boolean overwrite)
          Converts the value contained in the source field of the source object specified by this converter to be the value for the target field of the target object specified by this converter.
 
Methods inherited from class gov.nih.nci.caarray.services.util.dataconverter.mapper.FieldMapper
createFieldMapper, getClassMapper, getFieldMapperInfo, getIndexOfIndexedProperty, getNestedProperty, getNestedPropertyParentType, getParameterTypeOfPropertySetter, getProperty, getSourceField, getTargetField, reverse, setNestedProperty, setProperty, setSourceField, setTargetField, toAccessibleFieldName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Date2NameValueTypeFieldMapper

public Date2NameValueTypeFieldMapper(ClassMapper classMapper,
                                     SimpleField sourceField,
                                     SimpleField targetField)
Parameters:
classMapper -
sourceField -
targetField -
mappingType -
Method Detail

map

public void map(java.lang.Object sourceObject,
                java.lang.Object targetObject,
                boolean overwrite)
Description copied from class: FieldMapper
Converts the value contained in the source field of the source object specified by this converter to be the value for the target field of the target object specified by this converter.

Overrides:
map in class FieldMapper