If no specific implementation for the {@link Map} is specified, a {@link HashMap} will be used.
*
*
Entries can be added during the map initialization. The list of entries (key, value) to add must be specified with two operations:
*
*
{@link #setKeyDescriptors(List)} sets the list of the keys to generate.
*
{@link #setValueDescriptors(List)} sets the list of value associated with these keys.
*
* The two lists must be in the same order
* (the n-th element of the key list will be associated with the n-th element of the value list).
*
* @author Tom Baeyens
* @author Guillaume Porcher (documentation)
*
* @see Descriptor
*/
public class MapDescriptor extends CollectionDescriptor {
private static final long serialVersionUID = 1L;
List keyDescriptors;
public MapDescriptor() {
super(HashMap.class.getName());
}
public void initialize(Object object, WireContext wireContext) {
Map