Class PropertyValueProvider
java.lang.Object
io.jmix.dataimport.property.populator.impl.PropertyValueProvider
-
Field Summary
Modifier and TypeFieldDescriptionprotected CustomValueProvider
protected Metadata
protected ReferenceValueProvider
protected SimplePropertyValueProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected PropertyMappingContext
createContext
(Object propertyOwnerEntity, ImportConfiguration importConfiguration, PropertyMapping propertyMapping, RawValuesSource rawValuesSource) getCreatedReferences
(PropertyMapping propertyMapping, Map<PropertyMapping, List<Object>> createdReferences) getCustomValue
(CustomPropertyMapping customPropertyMapping, ImportConfiguration importConfiguration, RawValuesSource rawValuesSource) protected RawValuesSource
getRawValueSource
(RawValuesSource rawValuesSource, PropertyMapping propertyMapping) getReferenceValue
(PropertyMapping propertyMapping, ImportConfiguration importConfiguration, RawValuesSource rawValuesSource, Object propertyOwnerEntity, Map<PropertyMapping, List<Object>> createdReferences) getSimpleValue
(SimplePropertyMapping propertyMapping, ImportConfiguration importConfiguration, RawValuesSource rawValuesSource, Object propertyOwnerEntity) protected Object
processMultiFieldMapping
(Object propertyOwnerEntity, ImportConfiguration importConfiguration, PropertyMapping propertyMapping, RawValuesSource rawValuesSource, Map<PropertyMapping, List<Object>> createdReferences)
-
Field Details
-
referenceValueProvider
-
customValueProvider
-
simplePropertyValueProvider
-
metadata
-
-
Constructor Details
-
PropertyValueProvider
public PropertyValueProvider()
-
-
Method Details
-
getSimpleValue
@Nullable public Object getSimpleValue(SimplePropertyMapping propertyMapping, ImportConfiguration importConfiguration, RawValuesSource rawValuesSource, Object propertyOwnerEntity) -
getCustomValue
@Nullable public Object getCustomValue(CustomPropertyMapping customPropertyMapping, ImportConfiguration importConfiguration, RawValuesSource rawValuesSource) -
getReferenceValue
@Nullable public Object getReferenceValue(PropertyMapping propertyMapping, ImportConfiguration importConfiguration, RawValuesSource rawValuesSource, Object propertyOwnerEntity, @Nullable Map<PropertyMapping, List<Object>> createdReferences) -
processMultiFieldMapping
@Nullable protected Object processMultiFieldMapping(Object propertyOwnerEntity, ImportConfiguration importConfiguration, PropertyMapping propertyMapping, RawValuesSource rawValuesSource, @Nullable Map<PropertyMapping, List<Object>> createdReferences) -
createContext
protected PropertyMappingContext createContext(Object propertyOwnerEntity, ImportConfiguration importConfiguration, PropertyMapping propertyMapping, RawValuesSource rawValuesSource) -
getRawValueSource
protected RawValuesSource getRawValueSource(RawValuesSource rawValuesSource, PropertyMapping propertyMapping) -
getCreatedReferences
@Nullable protected List<Object> getCreatedReferences(PropertyMapping propertyMapping, @Nullable Map<PropertyMapping, List<Object>> createdReferences)
-