Class ReferenceMultiFieldPropertyMapping

java.lang.Object
io.jmix.dataimport.configuration.mapping.ReferenceMultiFieldPropertyMapping
All Implemented Interfaces:
PropertyMapping

public class ReferenceMultiFieldPropertyMapping extends Object implements PropertyMapping
Mapping for reference property that is mapped by multiple data fields from the input data. This mapping allows to set:
  • Entity property name: name of the reference property
  • Data field name (optional): name of the data field that contains a raw values of properties for the reference entity. Note: this field is helpful for JSON (if there is a separate object for reference property) or XML (if there is a separate tag for reference property).
  • Reference import policy: ReferenceImportPolicy
  • Lookup property names: property names by which existing entity should be searched.
  • Reference property mappings: list of PropertyMapping for reference entity properties.