Annotation Type BindMap

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean convertKeys
      Whether to automatically convert map keys to strings.
      String[] keys
      The set of map keys to bind.
      String value
      Prefix to apply to each map key.
    • Element Detail

      • value

        String value
        Prefix to apply to each map key. If specified, map keys will be bound as prefix.key.
        Returns:
        the prefix
        Default:
        ""
      • keys

        String[] keys
        The set of map keys to bind. If specified, binds only the specified keys; any keys present in this property but absent from the map will be bound as null. If not specified, all map entries are bound.
        Returns:
        the map keys to bind.
        Default:
        {}
      • convertKeys

        boolean convertKeys
        Whether to automatically convert map keys to strings. If false, Map keys must be strings, or an exception is thrown. If true, any object may be the key, and it will be converted with Object.toString().
        Returns:
        whether keys will be implicitly converted to Strings.
        Default:
        false