Package io.jmix.dynmodel.impl
Class DynamicEntityLoadedPropertiesInfo
java.lang.Object
io.jmix.dynmodel.impl.DynamicEntityLoadedPropertiesInfo
- All Implemented Interfaces:
LoadedPropertiesInfo,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicEntityLoadedPropertiesInfo(@Nullable LoadedPropertiesInfo fallbackLoadedPropertiesInfo, boolean fallbackToChecker) -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanisLoaded(Object entity, String property, PersistentAttributesLoadChecker checker) Checks whether the property is loaded from the data store.isLoadedSafe(Object entity, String property, PersistentAttributesLoadChecker checker) Checks whether the property is loaded from the data store without risking fetching it.voidregisterProperty(String name, boolean loaded)
-
Constructor Details
-
DynamicEntityLoadedPropertiesInfo
public DynamicEntityLoadedPropertiesInfo() -
DynamicEntityLoadedPropertiesInfo
public DynamicEntityLoadedPropertiesInfo(@Nullable LoadedPropertiesInfo fallbackLoadedPropertiesInfo, boolean fallbackToChecker)
-
-
Method Details
-
isLoaded
Description copied from interface:LoadedPropertiesInfoChecks whether the property is loaded from the data store. This may trigger fetching of the property if its state cannot be determined using standard mechanisms.- Specified by:
isLoadedin interfaceLoadedPropertiesInfo- See Also:
-
isLoadedSafe
public EntityStates.PropertyLoadedState isLoadedSafe(Object entity, String property, PersistentAttributesLoadChecker checker) Description copied from interface:LoadedPropertiesInfoChecks whether the property is loaded from the data store without risking fetching it.- Specified by:
isLoadedSafein interfaceLoadedPropertiesInfo- See Also:
-
registerProperty
- Specified by:
registerPropertyin interfaceLoadedPropertiesInfo
-
copy
- Specified by:
copyin interfaceLoadedPropertiesInfo
-