private static String getEntryNameForMap ( String property , Boolean key , Integer index ) { return String . format ( "%s.%d.%s" , property , index , key ? "key" : "value" ) ; }
Returns the entry name for a map element in the EDB format . The key parameter defines if the entry name should be generated for the key or the value of the map . E . g . the map key for the property map with the index 0 would be map . 0 . key .