Implementing the BOMs

This section describes the steps involved in implementing the various BOMs for a Business Object Type. The most straightforward mechanism is to develop a single BOM class for all of the BOM interfaces that are required for the Business Object Type. That is, the class implements all of the required BOM interfaces. The recommended means of doing this is to extend the BOM Infrastructure class curam.ctm.bom.util.impl.AbstractBOM, which implements the BOM interfaces, and provides out-of-the-box implementations of several of the methods. Note, however, that it is also possible to implement all of the BOM interfaces directly if desired.

The process of implementing the BOM is now described through example, using the sample User Business Object Type described above. In the example, the recommended strategy of providing a single BOM implementation class is followed.