Associates the specified element with specified keys in the element map with the specified identifier.

Parameters:

elementMapId

The element map identifier.

Note: When the element map with such an identifier does not exist, the generator raises an error.

keys
The array of hash keys with which the specified element is to be associated.

Note: null value for a hash key is not allowed and will be ignored.

element
The element to be associated with the keys.

Returns:

The number of new key/element associations added to the element map.

See Also:

createElementMap(), putElementByKey(), putElementsByKeys()