Class ReferencePropertyMapping
java.lang.Object
io.jmix.dataimport.configuration.mapping.ReferencePropertyMapping
- All Implemented Interfaces:
- PropertyMapping
Mapping for reference property by one lookup property that has a raw value in the input data.
 
This mapping allows to set:
This mapping allows to set:
- Entity property name: name of the reference property
- Lookup property name: name of the property from reference entity
- Data field name: name of the data field that contains a raw value of lookup property
- Reference import policy. Default value: ReferenceImportPolicy.IGNORE_IF_MISSING
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionReferencePropertyMapping(String entityPropertyName, String dataFieldName, String lookupPropertyName, ReferenceImportPolicy importPolicy) 
- 
Method SummaryModifier and TypeMethodDescriptionGets a data field name.Gets an entity property name.
- 
Constructor Details- 
ReferencePropertyMappingpublic ReferencePropertyMapping(String entityPropertyName, String dataFieldName, String lookupPropertyName, ReferenceImportPolicy importPolicy) 
 
- 
- 
Method Details- 
getEntityPropertyNameDescription copied from interface:PropertyMappingGets an entity property name.- Specified by:
- getEntityPropertyNamein interface- PropertyMapping
- Returns:
- entity property name
 
- 
getDataFieldNameDescription copied from interface:PropertyMappingGets a data field name.- Specified by:
- getDataFieldNamein interface- PropertyMapping
- Returns:
- data field name
 
- 
getLookupPropertyName
- 
getReferenceImportPolicy
 
-