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 SummaryFieldsModifier and TypeFieldDescriptionprotected Function<CustomMappingContext,Object> protected String
- 
Constructor SummaryConstructorsConstructorDescriptionCustomPropertyMapping(String entityPropertyName, Function<CustomMappingContext, Object> customValueFunction) 
- 
Method SummaryModifier and TypeMethodDescriptionGets a data field name.Gets an entity property name.
- 
Field Details- 
entityPropertyName
- 
customValueFunction
 
- 
- 
Constructor Details- 
CustomPropertyMappingpublic CustomPropertyMapping(String entityPropertyName, Function<CustomMappingContext, Object> customValueFunction) 
 
- 
- 
Method Details- 
getDataFieldNameDescription copied from interface:PropertyMappingGets a data field name.- Specified by:
- getDataFieldNamein interface- PropertyMapping
- Returns:
- data field name
 
- 
getCustomValueFunction
- 
getEntityPropertyNameDescription copied from interface:PropertyMappingGets an entity property name.- Specified by:
- getEntityPropertyNamein interface- PropertyMapping
- Returns:
- entity property name
 
 
-