com.googlecode.objectify.impl.save
Class EmbeddedClassFieldSaver
java.lang.Object
com.googlecode.objectify.impl.save.FieldSaver
com.googlecode.objectify.impl.save.EmbeddedClassFieldSaver
- All Implemented Interfaces:
- Saver
public class EmbeddedClassFieldSaver
- extends FieldSaver
Saver which knows how to save simple embedded classes, not arrays or collections.
If the field is null, store a null
Constructor Summary |
EmbeddedClassFieldSaver(Conversions conv,
java.lang.Class<?> examinedClass,
java.lang.reflect.Field field,
boolean ignoreClassIndexing,
boolean collectionize)
|
Method Summary |
void |
saveValue(java.lang.Object value,
com.google.appengine.api.datastore.Entity entity,
Path path,
boolean index)
Actually save the value in the entity. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbeddedClassFieldSaver
public EmbeddedClassFieldSaver(Conversions conv,
java.lang.Class<?> examinedClass,
java.lang.reflect.Field field,
boolean ignoreClassIndexing,
boolean collectionize)
- Parameters:
ignoreClassIndexing
- is for the class that contains this embedded class field, not the embedded class.
saveValue
public void saveValue(java.lang.Object value,
com.google.appengine.api.datastore.Entity entity,
Path path,
boolean index)
- Description copied from class:
FieldSaver
- Actually save the value in the entity. This is the real value, already obtained
from the POJO and checked against the @Unsaved mechanism..
- Specified by:
saveValue
in class FieldSaver
path
- TODO
Copyright © 2011 Jeff Schnitzer and a gang of pirates. All Rights Reserved. Build version: 3.1