Class ReferenceValueProvider
java.lang.Object
io.jmix.dataimport.property.populator.impl.ReferenceValueProvider
-
Field Summary
Modifier and TypeFieldDescriptionprotected DuplicateEntityManager
static final org.slf4j.Logger
protected MetadataTools
protected PropertyMappingUtils
protected ReferenceCreator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEntityCollection
(Object entityToPopulate, PropertyMappingContext context) protected ReferenceImportPolicy
getReferenceImportPolicy
(PropertyMapping referenceMapping) getSingleEntity
(PropertyMappingContext context, List<Object> createdReferences) protected Object
loadEntity
(PropertyMappingContext context) protected void
protected Object
protected void
protected Object
processManyToOneReferenceMapping
(PropertyMappingContext context, List<Object> createdReferences) protected Object
-
Field Details
-
log
public static final org.slf4j.Logger log -
metadataTools
-
referenceCreator
-
duplicateEntityManager
-
propertyMappingUtils
-
-
Constructor Details
-
ReferenceValueProvider
public ReferenceValueProvider()
-
-
Method Details
-
getSingleEntity
@Nullable public Object getSingleEntity(PropertyMappingContext context, @Nullable List<Object> createdReferences) -
getEntityCollection
@Nullable public Collection<Object> getEntityCollection(Object entityToPopulate, PropertyMappingContext context) -
processEmbeddedReferenceMapping
-
processOneToOneReferenceMapping
-
processManyToOneReferenceMapping
@Nullable protected Object processManyToOneReferenceMapping(PropertyMappingContext context, @Nullable List<Object> createdReferences) -
getReferenceImportPolicy
@Nullable protected ReferenceImportPolicy getReferenceImportPolicy(PropertyMapping referenceMapping) -
loadEntity
-
logIgnoredReference
-
processFailedReference
-