Handler - flattenProductHierarchy

 

Description

Builds a composite product from its input(s) and then collapses the structure to a flat vector for multiple basic products or a single basic product for only one item.

Configuration Variables

None. 

Product

Product is null if there are no sources or if the sources don't contribute to a product.

How it works

At each activation it scans the aggregate product of its sources and puts all BasicProducts in a new container. This container is returned if there are more than one basic product otherwise the single basic product is returned.

Revised: 12 January 1999