Class PropertyValueProvider
java.lang.Object
io.jmix.dataimport.property.populator.impl.PropertyValueProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CustomValueProviderprotected Metadataprotected ReferenceValueProviderprotected SimplePropertyValueProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PropertyMappingContextcreateContext(Object propertyOwnerEntity, ImportConfiguration importConfiguration, PropertyMapping propertyMapping, RawValuesSource rawValuesSource) getCreatedReferences(PropertyMapping propertyMapping, @Nullable Map<PropertyMapping, List<Object>> createdReferences) @Nullable ObjectgetCustomValue(CustomPropertyMapping customPropertyMapping, ImportConfiguration importConfiguration, RawValuesSource rawValuesSource) protected RawValuesSourcegetRawValueSource(RawValuesSource rawValuesSource, PropertyMapping propertyMapping) @Nullable ObjectgetReferenceValue(PropertyMapping propertyMapping, ImportConfiguration importConfiguration, RawValuesSource rawValuesSource, Object propertyOwnerEntity, @Nullable Map<PropertyMapping, List<Object>> createdReferences) @Nullable ObjectgetSimpleValue(SimplePropertyMapping propertyMapping, ImportConfiguration importConfiguration, RawValuesSource rawValuesSource, Object propertyOwnerEntity) protected @Nullable ObjectprocessMultiFieldMapping(Object propertyOwnerEntity, ImportConfiguration importConfiguration, PropertyMapping propertyMapping, RawValuesSource rawValuesSource, @Nullable Map<PropertyMapping, List<Object>> createdReferences)
-
Field Details
-
referenceValueProvider
-
customValueProvider
-
simplePropertyValueProvider
-
metadata
-
-
Constructor Details
-
PropertyValueProvider
public PropertyValueProvider()
-
-
Method Details
-
getSimpleValue
public @Nullable Object getSimpleValue(SimplePropertyMapping propertyMapping, ImportConfiguration importConfiguration, RawValuesSource rawValuesSource, Object propertyOwnerEntity) -
getCustomValue
public @Nullable Object getCustomValue(CustomPropertyMapping customPropertyMapping, ImportConfiguration importConfiguration, RawValuesSource rawValuesSource) -
getReferenceValue
public @Nullable Object getReferenceValue(PropertyMapping propertyMapping, ImportConfiguration importConfiguration, RawValuesSource rawValuesSource, Object propertyOwnerEntity, @Nullable Map<PropertyMapping, List<Object>> createdReferences) -
processMultiFieldMapping
protected @Nullable 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
protected @Nullable List<Object> getCreatedReferences(PropertyMapping propertyMapping, @Nullable Map<PropertyMapping, List<Object>> createdReferences)
-