MappingUtils.applyGlobalCopyByReference(globalConfiguration, oneWayFieldMap, classMap);
// check to see if we need to exclude the map
if (MappingDirection.ONE_WAY.equals(oneWayFieldMap.getType())) {
fieldMapPrime = new ExcludeFieldMap(classMapPrime);
MappingUtils.reverseFields(oneWayFieldMap, fieldMapPrime);
classMapPrime.addFieldMapping(fieldMapPrime);
}
}
}
}
// if it is a one way mapping or a method/iterate method mapping we can not bi-directionally map