DaBInImporter speichert die DaBIn-ID von Personen jetzt im Description-Feld in der Form "DaBInId={123}".

git-svn-id: https://svn.libreccm.org/ccm/trunk@753 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2011-02-17 15:47:52 +00:00
parent c05550db60
commit 8957b1e0a8
1 changed files with 10 additions and 5 deletions

View File

@ -1889,6 +1889,8 @@ public class DaBInImporter extends Program {
personDe.setSurname(personData.getSurname()); personDe.setSurname(personData.getSurname());
personDe.setGivenName(personData.getGivenname()); personDe.setGivenName(personData.getGivenname());
personDe.setTitlePre(personData.getTitlePre()); personDe.setTitlePre(personData.getTitlePre());
personDe.setDescription(String.format("DaBInId={%s}",
personData.getDabinId()));
personDe.setContentSection(section); personDe.setContentSection(section);
personDe.setLifecycle(createLifecycle(personsLifecycle)); personDe.setLifecycle(createLifecycle(personsLifecycle));
personDe.save(); personDe.save();
@ -1897,6 +1899,8 @@ public class DaBInImporter extends Program {
personEn.setSurname(personData.getSurname()); personEn.setSurname(personData.getSurname());
personEn.setTitlePre(personData.getTitlePre()); personEn.setTitlePre(personData.getTitlePre());
personEn.setGivenName(personData.getGivenname()); personEn.setGivenName(personData.getGivenname());
personEn.setDescription(String.format("DaBInId={%s}",
personData.getDabinId()));
personEn.setContentSection(section); personEn.setContentSection(section);
personEn.setLifecycle(createLifecycle(personsLifecycle)); personEn.setLifecycle(createLifecycle(personsLifecycle));
personEn.save(); personEn.save();
@ -2779,7 +2783,8 @@ public class DaBInImporter extends Program {
if ("et. al.".equals(author.getSurname()) if ("et. al.".equals(author.getSurname())
|| "et. al.".equals(author.getGivenName())) { || "et. al.".equals(author.getGivenName())) {
System.out.printf("\t***WARNING: The publication %s has a author 'et. al.'. It is strongly recommened to name ALL authors of a publication. "); System.out.printf(
"\t***WARNING: The publication %s has a author 'et. al.'. It is strongly recommened to name ALL authors of a publication. ");
} }
RelatedLink myPublication; RelatedLink myPublication;