Interface StringToEntityPropertyMapConverter
public interface StringToEntityPropertyMapConverter
Converts string value to a map that contains property name and property value. List of properties to search is used
to find properties on a managed type, conversion is attempted to property type and if conversion succeeds property is added to resulting map.
-
Method Summary
-
Method Details
-
convert
Map<String,Object> convert(String value, List<String> propertyToSearchList, jakarta.persistence.metamodel.ManagedType<?> managedType, SearchPropertyConfiguration searchPropertyConfiguration) Returns a map containing property name and property value. Resolved from propertyToSearchList found onManagedTypethat can be converted from passed in string.- Parameters:
value- value to convertpropertyToSearchList- list of properties to convert tomanagedType- entity managed typesearchPropertyConfiguration- search property configuration- Returns:
- map with all properties for which conversion succeeded
-