Dummy question.
I create my POJO Objectify entity (for example, \"Category\") and persist it.
Then I retrieve it via a query.
I want to use it in a
For objectify 4 use:
public Key getKey() { return Key.create(Foo.class, id); }
Or if the entity has a @Parent
public Key getKey() { return Key.create(parentKey, Bar.class, id); }