Package io.jmix.core.entity
Interface LoadedPropertiesInfo
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CachingLoadedPropertiesInfo,DynamicEntityLoadedPropertiesInfo,StaticLoadedPropertiesInfo
Provides information about properties loaded from data store.
Implementations of this interface are used in EntityEntry.
-
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)
-
Method Details
-
isLoaded
Checks 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.- See Also:
-
isLoadedSafe
EntityStates.PropertyLoadedState isLoadedSafe(Object entity, String property, PersistentAttributesLoadChecker checker) Checks whether the property is loaded from the data store without risking fetching it.- See Also:
-
registerProperty
-
copy
LoadedPropertiesInfo copy()
-