com.googlecode.objectify.impl.load
Class EmbeddedMapSetter

java.lang.Object
  extended by com.googlecode.objectify.impl.load.Setter
      extended by com.googlecode.objectify.impl.load.CollisionDetectingSetter
          extended by com.googlecode.objectify.impl.load.EmbeddedMapSetter
All Implemented Interfaces:
java.lang.Cloneable

public class EmbeddedMapSetter
extends CollisionDetectingSetter

Creates objects or stores primitive values within a map embedded in a component.


Constructor Summary
EmbeddedMapSetter(java.lang.reflect.Field field, java.lang.Class<?> componentType, Conversions conversions, java.util.Collection<java.lang.String> collisionPaths)
           
 
Method Summary
protected  void safeSet(java.lang.Object toPojo, java.lang.Object value, LoadContext context)
          Set the value within our map.
 
Methods inherited from class com.googlecode.objectify.impl.load.CollisionDetectingSetter
set
 
Methods inherited from class com.googlecode.objectify.impl.load.Setter
clone, extend, getNext
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedMapSetter

public EmbeddedMapSetter(java.lang.reflect.Field field,
                         java.lang.Class<?> componentType,
                         Conversions conversions,
                         java.util.Collection<java.lang.String> collisionPaths)
Method Detail

safeSet

protected void safeSet(java.lang.Object toPojo,
                       java.lang.Object value,
                       LoadContext context)
Set the value within our map.

Specified by:
safeSet in class CollisionDetectingSetter


Copyright © 2011 Jeff Schnitzer and a gang of pirates. All Rights Reserved. Build version: 3.1