classMap.getCustomConverters().setConverters(new ArrayList<CustomConverterDescription>(customConverterDescriptions)); } else { classMap.setCustomConverters(new CustomConverterContainer()); classMap.getCustomConverters().setConverters(new ArrayList<CustomConverterDescription>(customConverterDescriptions));
.setConverters(new ArrayList<CustomConverterDescription>(customConverterDescriptions)); } else { classMap.setCustomConverters(new CustomConverterContainer()); classMap.getCustomConverters() .setConverters(new ArrayList<CustomConverterDescription>(customConverterDescriptions));
public ClassMap copyOf() { ClassMap copy = new ClassMap(this.globalConfiguration); copy.setSrcClass(srcClass); copy.setDestClass(destClass); copy.setFieldMaps(new ArrayList<FieldMap>(fieldMaps)); copy.setAllowedExceptions(new ArrayList<Class<RuntimeException>>(allowedExceptions)); copy.setType(type); copy.setDateFormat(dateFormat); copy.setBeanFactory(beanFactory); copy.setMapNull(mapNull); copy.setMapEmptyString(mapEmptyString); copy.setWildcard(wildcard); copy.setStopOnErrors(stopOnErrors); copy.setTrimStrings(trimStrings); copy.setCustomConverters(customConverters); copy.setMapId(mapId); copy.setRelationshipType(relationshipType); return copy; } }
public ClassMap copyOf() { ClassMap copy = new ClassMap(this.globalConfiguration); copy.setSrcClass(srcClass); copy.setDestClass(destClass); copy.setFieldMaps(new ArrayList<FieldMap>(fieldMaps)); copy.setAllowedExceptions(new ArrayList<Class<RuntimeException>>(allowedExceptions)); copy.setType(type); copy.setDateFormat(dateFormat); copy.setBeanFactory(beanFactory); copy.setMapNull(mapNull); copy.setMapEmptyString(mapEmptyString); copy.setWildcard(wildcard); copy.setStopOnErrors(stopOnErrors); copy.setTrimStrings(trimStrings); copy.setCustomConverters(customConverters); copy.setMapId(mapId); copy.setRelationshipType(relationshipType); return copy; } }