Class Creator<P>

java.lang.Object
com.googlecode.objectify.impl.translate.Creator<P>
All Implemented Interfaces:
Translator<P,​com.google.appengine.api.datastore.PropertyContainer>
Direct Known Subclasses:
EmbeddedCreator, EntityCreator

public abstract class Creator<P>
extends Object
implements Translator<P,​com.google.appengine.api.datastore.PropertyContainer>

Factory for POJO and PropertyContainer objects. Lets us hide the distinction between Entity creation and embedded object creation.

Author:
Jeff Schnitzer
  • Constructor Details

    • Creator

      public Creator(Class<P> clazz, Forge forge)
  • Method Details

    • construct

      protected P construct(Path path)
      Make an instance of the thing