Class CustomPropertyMapping
java.lang.Object
io.jmix.dataimport.configuration.mapping.CustomPropertyMapping
- All Implemented Interfaces:
 PropertyMapping
Mapping for entity property that has a custom value calculated by specified function.
- See Also:
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Function<CustomMappingContext,Object> protected String - 
Constructor Summary
ConstructorsConstructorDescriptionCustomPropertyMapping(String entityPropertyName, Function<CustomMappingContext, Object> customValueFunction)  - 
Method Summary
Modifier and TypeMethodDescriptionGets a data field name.Gets an entity property name. 
- 
Field Details
- 
entityPropertyName
 - 
customValueFunction
 
 - 
 - 
Constructor Details
- 
CustomPropertyMapping
public CustomPropertyMapping(String entityPropertyName, Function<CustomMappingContext, Object> customValueFunction)  
 - 
 - 
Method Details
- 
getDataFieldName
Description copied from interface:PropertyMappingGets a data field name.- Specified by:
 getDataFieldNamein interfacePropertyMapping- Returns:
 - data field name
 
 - 
getCustomValueFunction
 - 
getEntityPropertyName
Description copied from interface:PropertyMappingGets an entity property name.- Specified by:
 getEntityPropertyNamein interfacePropertyMapping- Returns:
 - entity property name
 
 
 -