Package io.jmix.core
Class EntityReferencesNormalizer
java.lang.Object
io.jmix.core.EntityReferencesNormalizer
@Component("core_EntityReferencesNormalizer")
public class EntityReferencesNormalizer
extends Object
Normalizes references between items of a collection.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
updateReferences
(Collection<Object> entities) For each entity in the collection, updates reference properties to point to instances which are items of the collection.void
updateReferences
(Collection<Object> entities, Collection<Object> references) For each entity in the first collection, updates reference properties to point to instances from the second collection.
-
Constructor Details
-
EntityReferencesNormalizer
public EntityReferencesNormalizer()
-
-
Method Details
-
updateReferences
For each entity in the collection, updates reference properties to point to instances which are items of the collection. -
updateReferences
For each entity in the first collection, updates reference properties to point to instances from the second collection.
-