continue;
}
String extKey = fields.get(Col.ID).get().trim();
DirectorySurnameItem surename = dirSurname.getItemFromTitle(fields.get(Col.FAMILY).get().trim());
if (surename == null) {
DirectoryItemDetails d = new DirectoryItemDetails(fields.get(Col.FAMILY).get().trim());
surename = new DirectorySurnameItem(d);
dirSurname.getItems().append(surename);
}
int surnameID = surename.getID();
DirectoryNameItem name = dirName.getItemFromTitle(fields.get(Col.NAME).get().trim());
if (name == null) {
DirectoryItemDetails d = new DirectoryItemDetails(fields.get(Col.NAME).get().trim());
name = new DirectoryNameItem(d);
dirName.getItems().append(name);
}
int nameID = name.getID();
//Финт ушами - исправление отчества
String father = fields.get(Col.FATHER).get().trim();
if (father.equals("Тимирьянович")) {
father = "Тимерзянович";
}
DirectoryPathronItem pathron = dirPathron.getItemFromTitle(father);
if (pathron == null) {
DirectoryItemDetails d = new DirectoryItemDetails(father);
pathron = new DirectoryPathronItem(d);
dirPathron.getItems().append(pathron);
}
int pathronID = pathron.getID();
int specID = dirSpec.getItemFromExtKey(fields.get(Col.KOD_SPEC).get().trim()).getID();