Skip to main content

Bags

This video introduces Hopp's use of Bags.

The state in a Bag is reset each time we start processing a new group business object. Additionally, Bags can have methods.

You can define as many methods as you need, and each method closely resembles a rule in terms of its signature, parameters, return value, and ability to raise flags.

The Bag methods can be used anywhere in the mapping where rules can be used.