ArrayList individualVOs = MergeUtil.getIndividualVOsForEntityIds(mergeIdArray, dataSource);
// The entityVOs each have a collection of their associated MOC VOs
// in a field. (ContactVO.getMOC())
ArrayList methodOfContactVOs = new ArrayList();
for (int i = 0; i < entityVOs.size(); i++) {
methodOfContactVOs.addAll(((EntityVO)entityVOs.get(i)).getMOC());
}
// only the primary address is in the ContactVO so we have to get them all.
int mergeType = searchResult.getMergeType();
ArrayList addressVOs = MergeUtil.getAddressVOs(mergeIdArray, mergeType, dataSource);
// The customfields are in the ContactVO too.