Changing the Selection of Primary Information

The strategies that determine which data should be selected as primary information can be modified through the use of the default primary handler interfaces. An interface is defined for each dynamic evidence type supplied that has a primary identifier on its legacy table, found in the curam.pdc.impl package and are listed below.

Primary handler implementations are invoked via an event based mechanism. When dynamic evidence is activated after an insert, modify or remove operation, an event is thrown. For new evidence types an event listener needs to be developed to listen for this event and invoke the appropriate algorithm that will determine the primary data, this is discussed in more detail later in this chapter. The next section demonstrates how to implement a primary handler.

Primary Handler Interfaces