com.googlecode.objectify.impl.load
Class EmbeddedClassSetter

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.EmbeddedClassSetter
All Implemented Interfaces:
java.lang.Cloneable

public class EmbeddedClassSetter
extends CollisionDetectingSetter

Setter which knows how to get or instantiate an embedded class, then pass on to the next setter in the chain.


Constructor Summary
EmbeddedClassSetter(java.lang.reflect.Field field, java.util.Collection<java.lang.String> collisionPaths)
           
 
Method Summary
protected  void safeSet(java.lang.Object obj, java.lang.Object value, LoadContext context)
          Just like set() but called after collision detection is performed.
 
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

EmbeddedClassSetter

public EmbeddedClassSetter(java.lang.reflect.Field field,
                           java.util.Collection<java.lang.String> collisionPaths)
Method Detail

safeSet

protected void safeSet(java.lang.Object obj,
                       java.lang.Object value,
                       LoadContext context)
Description copied from class: CollisionDetectingSetter
Just like set() but called after collision detection is performed.

Specified by:
safeSet in class CollisionDetectingSetter


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