org.dozer.fieldmap
Class MapFieldMap

java.lang.Object
  extended by org.dozer.fieldmap.FieldMap
      extended by org.dozer.fieldmap.MapFieldMap
All Implemented Interfaces:
Cloneable

public class MapFieldMap
extends FieldMap

Only intended for internal use. Handles field mapping involving Map Backed properties. Map backed property support includes top level class Map data type, field level Map data type, and custom Map backed objects that provide custom map-get/set methods.

Author:
garsombke.franz, sullins.ben, tierney.matt

Constructor Summary
MapFieldMap(ClassMap classMap)
           
MapFieldMap(FieldMap fieldMap)
           
 
Method Summary
 Object getSrcFieldValue(Object srcObj)
           
 void writeDestValue(Object destObj, Object destFieldValue)
           
 
Methods inherited from class org.dozer.fieldmap.FieldMap
clone, getClassMap, getCustomConverter, getCustomConverterId, getCustomConverterParam, getDateFormat, getDestDeepIndexHintContainer, getDestField, getDestFieldCopy, getDestFieldCreateMethod, getDestFieldIndex, getDestFieldKey, getDestFieldMapGetMethod, getDestFieldMapSetMethod, getDestFieldName, getDestFieldTheGetMethod, getDestFieldTheSetMethod, getDestFieldType, getDestFieldType, getDestFieldWriteMethod, getDestHintContainer, getDestHintType, getDestPropertyDescriptor, getDestValue, getGenericType, getMapId, getRelationshipType, getSrcDeepIndexHintContainer, getSrcField, getSrcFieldCopy, getSrcFieldCreateMethod, getSrcFieldIndex, getSrcFieldKey, getSrcFieldMapGetMethod, getSrcFieldMapSetMethod, getSrcFieldName, getSrcFieldTheGetMethod, getSrcFieldTheSetMethod, getSrcFieldType, getSrcFieldType, getSrcHintContainer, getSrcPropertyDescriptor, getType, isCopyByReference, isCopyByReferenceOveridden, isDestFieldAccessible, isDestFieldIndexed, isDestMapEmptyString, isDestMapNull, isDestSelfReferencing, isNonCumulativeRelationship, isRemoveOrphans, isSrcFieldAccessible, isSrcFieldIndexed, isSrcSelfReferencing, isStopOnErrors, isTrimStrings, setClassMap, setCopyByReference, setCustomConverter, setCustomConverterId, setCustomConverterParam, setDestDeepIndexHintContainer, setDestField, setDestHintContainer, setMapId, setRelationshipType, setRemoveOrphans, setSrcDeepIndexHintContainer, setSrcField, setSrcHintContainer, setType, toString, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapFieldMap

public MapFieldMap(ClassMap classMap)

MapFieldMap

public MapFieldMap(FieldMap fieldMap)
Method Detail

writeDestValue

public void writeDestValue(Object destObj,
                           Object destFieldValue)
Overrides:
writeDestValue in class FieldMap

getSrcFieldValue

public Object getSrcFieldValue(Object srcObj)
Overrides:
getSrcFieldValue in class FieldMap


Copyright © 2005-2011 dozer. All Rights Reserved.