Mapper Class Collaboration
The following sequence diagram shows how an object uses the Windchill ESI Mapper:
1. The requesting object obtains an ESIMap object from the Windchill ESI map manager. The value of the id attribute (for which to obtain the ESIMap object) is fetched from the group name that is relevant for the mapping process for the currently processed distribution target, and for the type of the requesting object.
2. The map manager examines its cache and returns the appropriate ESIMap object. If the ESIMap object does not exist in the cache, the map manager creates it and adds it to the cache.
3. The requesting object creates an ESIMapper object and calls the appropriate map method.
4. The ESIMapper object obtains an iterator from the Windchill ESI map. For each entry identified by the iterator:
a. The ESIMapper obtains the Source_Name.
b. The ESIMapper obtains the value for that attribute from the source and adds it to the output.