Understanding Sun Master Index Processing

Java Class Types

Sun Master Index provides a set of static API classes that can be used with any object structure and any Sun master index application. Sun Master Index also generates several dynamic API classes that are specific to the object structure of each master index application. The dynamic classes contain similar methods, but the number and names of methods change depending on the object structure.

Static Classes

Static classes provide the methods you need to perform basic data cleansing and processing functions against incoming data, such as performing searches, reviewing potential duplicates, adding and updating records, and merging and unmerging records. The primary class containing these functions is the MasterController class, which includes the executeMatch methods. Several classes support the MasterController class by defining additional objects and functions. Documentation for the static methods is provided in Javadoc format.

Dynamic Web Services Classes

When you generate a master index Project, several dynamic methods are created in the Master Index EJB project that are specific to the object structure defined for the master index application. This includes classes that define each parent and child object in the object structure and that allow you to work with the data in each object. If the object structure is modified, regenerating the Project updates the dynamic methods for the new structure.

The EJB class that defines the primary web service methods is named after the parent object, and defines the main methods you use to transform and manipulate data between external systems and the master index database. There are also several helper classes that define the objects that are used as parameters and results for the primary web services, and that define the objects involved in Master Index processing.

The dynamic web services classes are located in the Master Index EJB project in the com.sun.mdm.index.webservice package under Source Packages. You can view the primary EJB class under Web Services in the EJB project. Additional supporting API classes are generated in the remaining Java packages under Source Packages.