ContactManager ContactMapper class

In ContactManager, you use the class gw.contactmapper.ab1000.ContactMapper to map ABContact entities and subentities. The class maps them to an XML object to send to Guidewire core applications and maps them from the XML objects received from Guidewire core applications. The class in the base ContactManager configuration works only with ABContact entities and subentities. ContactManager leaves it to the applications to map ABContact entities and subentities to and from Contact entities and subentities.

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

The following methods map the fields, foreign keys, and arrays of the ContactManager ABContact entities and subentities:

fieldMapping
Maps fields of an entity
fkMapping
Maps foreign keys of an entity
arrayMapping
Maps array references of an entity