Example of sub-recipes
The aim is to produce jam:
- Jam
- To do this, the jam itself must first be mixed and cooked from a certain amount of a type of fruit with a quantity of sugar and possibly additives. This is the jam recipe class.
- Glass
- The finished jam must then be bottled. Various jars with different capacities are available for this purpose. The appropriate label must of course be positioned in the right place. This data is managed in the jar recipe class.
- Packaging
- The jars are then packed in a box for despatch. Depending on the size of the box, different numbers of jars fit inside. The recipe class packaging is used here.