@Retention(value=RUNTIME) @Target(value={FIELD,PARAMETER}) public @interface Load
Placed on an entity field of type Ref>, this will cause Objectify to fetch that entity when the containing entity is loaded.
If one or more Class values are passed in, these represent load groups. The entity will be fetched only if the load group is activated. The class can be any arbitrary class, and class inheritance is respected.
For example, for a class Foo extends Bar, specifying @Load(Bar.class) will cause a field to load if the Foo.class group is enabled.
Copyright © 2016. All rights reserved.