attributeReverseMap

attributeReverseMap, given information about target dimension member and attribute name for the source dimension members, returns the source dimension member. The target member name is expected to match the attribute value of one or more source dimension members. A reverse map is performed on the attribute value to find the name of the member in the source dimension with that value for their attribute. The namesapce and dimension name are used to construct the fully qualified source dimension member name. The level name is used to narrow the reverse map search.

This function returns an arraylist containing members in the result set. If there is no mapping, an empty list is returned.

attributeReverseMap(ArrayList<Member> current, ArrayList<String> extraParams, Dimension d, String namepsace)

where current is the source dimension member name that is current being mapped, d is the target dimension, and namespace is the namespace in the target dimension used to construct the result member list.

How attributeMap is defined in the cube map:

attributeMap(source_dimension_name, attribute_name)

In the following example, the source dimension member is passed in the current list. The extraParams string list contains “Associated Geography”(attribute name).

attributeMap(Plants, Associated Geography)

If a string contains a space, do not enclose it in quotation marks.. In the previous example, Associate Geography is not enclosed in quotation marks.