Class MapPropertyDescriptor

  • All Implemented Interfaces:
    DozerPropertyDescriptor

    public class MapPropertyDescriptor
    extends GetterSetterPropertyDescriptor
    Internal class used to read and write values for Map backed objects that use key/value pairs. The specified "key" is used when invoking getter/setter. It is assumed that Map setter method has two parameters (for "key" and "value"), but getter method one parameter (for "key").

    Overloaded methods are supported. Map class can have two set methods with different signatures, but class will choose the one with appropriate number of parameters.

    Only intended for internal use.