// iterate through the fields and see wether or not they should be mapped
// one way class mappings we do not need to add any fields
if (!MappingDirection.ONE_WAY.equals(classMap.getType())) {
for (Object fm1 : fms) {
FieldMap fieldMap = (FieldMap) fm1;
fieldMap.validate();
// If we are dealing with a Map data type, transform the field map into a MapFieldMap type
if (!(fieldMap instanceof ExcludeFieldMap)) {
if (MappingUtils.isSupportedMap(classMap.getDestClassToMap())
|| MappingUtils.isSupportedMap(classMap.getSrcClassToMap())