Core application ContactMapper class

In the Guidewire core applications, you use the class gw.contactmapper.ab1000.ContactMapper to map entities between the core application and ContactManager. The class maps entities to an XML object to send to ContactManager and maps entities from the XML objects received from ContactManager.

You can access this class in Guidewire Studio from the Project window. Navigate to configuration > gsrc and then to gw.contactmapper.ab1000.ContactMapper.

Note: ContactManager also has a ContactMapper class. If you want ContactManager to handle changes you make in the ClaimCenter class, you must update the ContactManager class as well. For example, you might add a new field to a Contact subtype and want ContactManager to use that new field with the ABContact subtype.

Each core application uses ContactMapper to map differing field names used by the core application and ContactManager. To map differing contact entity names and typecodes used by ClaimCenter and ContactManager, each core application uses a separate XXNameMapper Gosu class. You can access this class for each core application in Guidewire Studio from the Project window. Navigate to configuration > gsrc and then to gw.contactmapper.ab1000. Double-click the following class for your application to open it an editor:

  • ClaimCenter – CCNameMapper
  • PolicyCenter – PCNameMapper
  • BillingCenter – BCNameMapper

There is no equivalent ContactManager class for mapping differing entity and typecode names. All the mapping of differing names is done on the core application side.

See also