Package com.googlecode.objectify.impl
Class LoadConditions
java.lang.Object
com.googlecode.objectify.impl.LoadConditions
A 'brain' class that determines whether or not refs should be loaded.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
shouldLoad
(Set<Class<?>> groups, boolean inTransaction)
-
Constructor Details
-
LoadConditions
- Parameters:
load
- can be null; it's "whatever was specified on the field", possibly nothingparent
- will be null for nonparent fields
-
-
Method Details
-
shouldLoad
- Returns:
- true if the property should be loaded when the given loadgroups are active
-