Open
Description
To do
- Introduce a
MapPropertyType
, similar toListPropertyType
etc.- Make sure it can be created in different ways as in
CollectionPropertyType
: allow to supply a customPropertyType<Map<String, …>>
but also make it possible to just specify thePropertyType<V> valueType
- Note: The keys of a Map are always
String
. This should not be overridable!
- Make sure it can be created in different ways as in
- Add unit tests
Notes
The result map property type and map property should be similar to SetPropertyType
and SetProperty
: make sure the entries are kept in insertion order (i.e. use LinkedHashMap
) and that the default value / returned values are immutable.