final ObjectModelForImport fieldObjectModel) throws ImportException {
final Deque<ClassReplacementDef> replacementDef = fieldObjectModel
.getReplacementDef();
final Object fieldValue = fieldObjectModel.getObject();
final ClassInfo fieldTypeClassInfo = fieldObjectModel.getClassInfo();
ObjectAndPersistInfo fieldObjectAndPersistInfo;
try {
fieldObjectAndPersistInfo = new ObjectAndPersistInfo(fieldValue,
false, fieldTypeClassInfo, replacementDef,
xmlImporter.getPreviousRelesase(),
xmlImporter.getPreviousDataModelIdentifier());
} catch (ClassInfoException exception) {
throw new ImportException(exception);
}
if (fieldValue != null && !fieldTypeClassInfo.isBasicType()) {
try {
fieldObjectAndPersistInfo
.setDataRecordIdentifier(fieldObjectModel
.getDataRecordIdentifier());
} catch (ObjectIOException exception) {
throw new ImportException("\nfor object\n" + fieldObjectModel,
exception);