Class LoadConditions

java.lang.Object
com.googlecode.objectify.impl.LoadConditions

public class LoadConditions extends Object
A 'brain' class that determines whether or not refs should be loaded.
  • Constructor Details

    • LoadConditions

      public LoadConditions(Load load, Parent parent)
      Parameters:
      load - can be null; it's "whatever was specified on the field", possibly nothing
      parent - will be null for nonparent fields
  • Method Details

    • shouldLoad

      public boolean shouldLoad(Set<Class<?>> groups, boolean inTransaction)
      Returns:
      true if the property should be loaded when the given loadgroups are active