Package io.jmix.eclipselink.impl
Class DataPersistentAttributesLoadChecker
java.lang.Object
io.jmix.core.impl.CorePersistentAttributesLoadChecker
io.jmix.eclipselink.impl.DataPersistentAttributesLoadChecker
- All Implemented Interfaces:
PersistentAttributesLoadChecker
-
Field Summary
Fields inherited from class io.jmix.core.impl.CorePersistentAttributesLoadChecker
metadata, metadataTools -
Constructor Summary
ConstructorsConstructorDescriptionDataPersistentAttributesLoadChecker(org.springframework.context.ApplicationContext applicationContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected EntityStates.PropertyLoadedStateisLoadedByFetchGroup(Object entity, String property) protected EntityStates.PropertyLoadedStateisLoadedSpecificCheck(Object entity, String property, MetaClass metaClass, MetaProperty metaProperty, boolean safe) Checks whether thepropertyof theentityis loaded using store-specific mechanisms.Methods inherited from class io.jmix.core.impl.CorePersistentAttributesLoadChecker
checkIsLoadedWithGetter, isLoaded, isLoadedCommonCheck, isLoadedInternal, isLoadedSafe
-
Constructor Details
-
DataPersistentAttributesLoadChecker
public DataPersistentAttributesLoadChecker(org.springframework.context.ApplicationContext applicationContext)
-
-
Method Details
-
isLoadedByFetchGroup
- Overrides:
isLoadedByFetchGroupin classCorePersistentAttributesLoadChecker
-
isLoadedSpecificCheck
protected EntityStates.PropertyLoadedState isLoadedSpecificCheck(Object entity, String property, MetaClass metaClass, MetaProperty metaProperty, boolean safe) Description copied from class:CorePersistentAttributesLoadCheckerChecks whether thepropertyof theentityis loaded using store-specific mechanisms.- Overrides:
isLoadedSpecificCheckin classCorePersistentAttributesLoadChecker- Parameters:
safe- determines the behavior when the loaded state cannot be determined using standard mechanisms: iftrue,UNKNOWNis returned; iffalse, the getter is invoked, which may trigger lazy loading
-