From dc187d7fdf01312967cd4d859fce13f03faa4320 Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Fri, 16 Aug 2024 13:59:34 +0200 Subject: [PATCH 01/54] Create new hbz tag folder based on DNB elements --- .../marc/definition/tags/hbztags/Tag249.java | 45 +++++++++ .../marc/definition/tags/hbztags/Tag259.java | 43 ++++++++ .../marc/definition/tags/hbztags/Tag591.java | 43 ++++++++ .../marc/definition/tags/hbztags/Tag689.java | 80 +++++++++++++++ .../marc/definition/tags/hbztags/Tag889.java | 42 ++++++++ .../marc/definition/tags/hbztags/Tag924.java | 97 +++++++++++++++++++ .../marc/definition/tags/hbztags/Tag925.java | 62 ++++++++++++ .../marc/definition/tags/hbztags/Tag926.java | 62 ++++++++++++ .../marc/definition/tags/hbztags/Tag930.java | 49 ++++++++++ .../marc/definition/tags/hbztags/Tag931.java | 43 ++++++++ .../marc/definition/tags/hbztags/Tag932.java | 42 ++++++++ .../definition/tags/hbztags/package-info.java | 16 +++ 12 files changed, 624 insertions(+) create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/package-info.java diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java new file mode 100644 index 000000000..5ce8c3ea3 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java @@ -0,0 +1,45 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Weitere Titel etc. bei Zusammenstellungen + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag249 extends DataFieldDefinition { + + private static Tag249 uniqueInstance; + + private Tag249() { + initialize(); + postCreation(); + } + + public static Tag249 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag249(); + return uniqueInstance; + } + + private void initialize() { + tag = "249"; + label = "Weitere Titel etc. bei Zusammenstellungen"; + mqTag = "WeitereTitel"; + cardinality = Cardinality.Nonrepeatable; + descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Weiterer Titel bei Zusammenstellungen", "R", + "b", "Titelzusätze zur gesamten Zusammenstellung", "NR", + "v", "Verantwortlichkeitsangabe zum weiteren Titel", "R" + ); + + getSubfield("a") + .setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java new file mode 100644 index 000000000..5a72118a3 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java @@ -0,0 +1,43 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Ausgabebezeichnung in normierter Form + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag259 extends DataFieldDefinition { + + private static Tag259 uniqueInstance; + + private Tag259() { + initialize(); + postCreation(); + } + + public static Tag259 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag259(); + return uniqueInstance; + } + + private void initialize() { + tag = "259"; + label = "Ausgabebezeichnung in normierter Form"; + mqTag = "WeitereTitel"; + cardinality = Cardinality.Nonrepeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Ausgabebezeichnung in normierter Form", "R" + ); + + getSubfield("a") + .setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java new file mode 100644 index 000000000..0c7b8c91b --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java @@ -0,0 +1,43 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Bemerkungen zur Titelaufnahme + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag591 extends DataFieldDefinition { + + private static Tag591 uniqueInstance; + + private Tag591() { + initialize(); + postCreation(); + } + + public static Tag591 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag591(); + return uniqueInstance; + } + + private void initialize() { + tag = "591"; + label = "Bemerkungen zur Titelaufnahme"; + mqTag = "BemerkungenZurTitelaufnahme"; + cardinality = Cardinality.Nonrepeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Fussnote", "R" + ); + + getSubfield("a") + .setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java new file mode 100644 index 000000000..8107286f7 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java @@ -0,0 +1,80 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; +import de.gwdg.metadataqa.marc.definition.structure.SubfieldDefinition; + +/** + * RSWK-Kette + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag689 extends DataFieldDefinition { + + private static Tag689 uniqueInstance; + + private Tag689() { + initialize(); + postCreation(); + } + + public static Tag689 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag689(); + return uniqueInstance; + } + + private void initialize() { + tag = "689"; + label = "RSWK-Kette"; + mqTag = "RSWKKette"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator("Nummer der RSWK-Kette") + .setCodes( + "0-9", "Nummer der RSWK-Kette" + ) + .setMqTag("nummerDerRSWKKette"); + ind1.getCode("0-9").setRange(true); + + ind2 = new Indicator("Nummer des Kettengliedes") + .setCodes( + " ", "Abschluss einer RSWK-Kettenfolge, Feld enthält dann zwei $5", + "0-9", "Nummer des Kettengliedes" + ) + .setMqTag("nummerDesKettengliedes"); + ind2.getCode("0-9").setRange(true); + + setSubfieldsWithCardinality( + "A", "Indikator des Kettengliedes", "R", + "B", "Permutationsmuster", "R", + "C", "Bemerkungen", "R", + "D", "Repräsentation der MARC-Feldnummer", "R", + "0", "Authority record control number(IDN des Normdatensatzes)", "R", + "5", "Herkunft", "R" + ); + for (char c = 'a'; c <= 'z'; c++) + subfields.add(new SubfieldDefinition(String.valueOf(c), "Same as associated field", "R") + .setParent(this)); + indexSubfields(); + + getSubfield("A").setCodes( + "f", "Formschlagwort", + "g", "geographischer Unterbegriff", + "z", "Zeitschlagwort" + ); + getSubfield("D").setCodes( + "b", "Körperschaft", + "f", "Kongress", + "g", "Geografikum", + "n", "Person (nicht individualisiert)", + "p", "Person (individualisiert)", + "s", "Sachbegriff", + "u", "Werk (nur bei Werken ohne geistige Schöpfer)" + ); + + getSubfield("A") + .setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java new file mode 100644 index 000000000..8f4b7b1dd --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java @@ -0,0 +1,42 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Angaben zum umgelenkten Datensatz + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag889 extends DataFieldDefinition { + + private static Tag889 uniqueInstance; + + private Tag889() { + initialize(); + postCreation(); + } + + public static Tag889 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag889(); + return uniqueInstance; + } + + private void initialize() { + tag = "889"; + label = "Angaben zum umgelenkten Datensatz"; + mqTag = "AngabenZumUmgelenktenDatensatz"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "w", "Replacement bibliographic record control number (Kontrollnummer des Zielsatzes)", "R" + ); + + getSubfield("w").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java new file mode 100644 index 000000000..14687d5f2 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java @@ -0,0 +1,97 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Bestandsinformationen + */ +public class Tag924 extends DataFieldDefinition { + + private static Tag924 uniqueInstance; + + private Tag924() { + initialize(); + postCreation(); + } + + public static Tag924 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag924(); + return uniqueInstance; + } + + private void initialize() { + tag = "924"; + label = "Bestandsinformationen"; + mqTag = "Bestandsinformationen"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator("Art der Ressource") + .setCodes( + "0", "Nicht-elektronisch", + "1", "Elektronisch" + ) + .setMqTag("artDerRessource"); + + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Lokale IDN des Bestandsdatensatzes", "NR", + "b", "ISIL als Kennzeichen der besitzenden Institution", "NR", + "c", "Leihverkehrsregion", "NR", + "d", "Fernleihindikator", "NR", + "e", "(Vertragsrechtliche) Einschränkungen bei der Fernleihe", "R", + "f", "Kommentar zum Fernleihindikator", "R", + "g", "Signatur", "R", + "h", "Sonderstandort / Abteilung", "R", + "i", "Sonderstandort-Signatur", "R", + "j", "Kommentar(e) zur Signatur", "R", + "k", "Elektronische Adresse für eine Computerdatei im Fernzugriff, Uniform Resource Identifier", "R", + "l", "Elektronische Adresse für eine Computerdatei im Fernzugriff, Interne und Allg. Bemerkungen (zum URI)", "R", + "m", "Normierte Bestandsangaben, Bandzählung (Beginn)", "R", + "n", "Normierte Bestandsangaben, Heftzählung (Beginn)", "R", + "o", "Normierte Bestandsangaben, Tageszählung (Beginn)", "R", + "p", "Normierte Bestandsangaben, Monatszählung (Beginn)", "R", + "q", "Normierte Bestandsangaben, Jahr (Beginn)", "R", + "r", "Normierte Bestandsangaben, Bandzählung (Ende)", "R", + "s", "Normierte Bestandsangaben, Heftzählung (Ende)", "R", + "t", "Normierte Bestandsangaben, Tageszählung (Ende)", "R", + "u", "Normierte Bestandsangaben, Monatszählung (Ende)", "R", + "v", "Normierte Bestandsangaben, Jahr (Ende)", "R", + "w", "Normierte Bestandsangaben, Kettung", "R", + "x", "Normierte Bestandsangaben, Kennzeichnung \"laufender Bestand\"", "R", + "y", "Aufbewahrungs- und Verfügbarkeitszeitraum, Moving Wall", "R", + "z", "Zusammenfassende Bestandsangaben", "R", + "9", "Sigel als Kennzeichen der besitzenden Institution", "R" + ); + + getSubfield("c").setCodes( + "ANL", "Nationallizenzen für Deutschland", + "BAW", "Leihverkehrsregion Baden-Württemberg und Saarland", + "BAY", "Leihverkehrsregion Bayern", + "BER", "Leihverkehrsregion Berlin und Brandenburg", + "HAM", "Leihverkehrsregion GBV (Hamburg, Bremen, Schleswig-Holstein und Mecklenburg-Vorpommern)", + "HES", "Leihverkehrsregion Hessen und Teile von Rheinland-Pfalz", + "NIE", "Leihverkehrsregion GBV (Niedersachsen)", + "NRW", "Leihverkehrsregion Nordrhein-Westfalen und Teile von Rheinland-Pfalz", + "SAA", "Leihverkehrsregion GBV (Sachsen-Anhalt)", + "SAX", "Leihverkehrsregion Sachsen", + "THU", "Leihverkehrsregion GBV (Thüringen)", + "WEU", "Bibliotheken im Ausland", + "WWW", "Nur im Internet" + ); + + getSubfield("e").setCodes( + "a", "Fernleihe (nur Ausleihe)", + "e", "Fernleihe (Kopie, elektronischer Versand an Endnutzer möglich)", + "k", "Fernleihe (Nur Kopie)", + "l", "Fernleihe (Kopie und Ausleihe)", + "n", "Keine Fernleihe" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java new file mode 100644 index 000000000..a6d54766f --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java @@ -0,0 +1,62 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Weitere DNB-Codierungen + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag925 extends DataFieldDefinition { + + private static Tag925 uniqueInstance; + + private Tag925() { + initialize(); + postCreation(); + } + + public static Tag925 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag925(); + return uniqueInstance; + } + + private void initialize() { + tag = "925"; + label = "Weitere DNB-Codierungen"; + mqTag = "WeitereDNBCodierungen"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator("First") // TODO: ask what it is, it is not set in the document + .setCodes( + "p", "Published on demand (bei Netzpublikationen", + "r", "Reihenzugehörigkeit", + "s", "Zugehörigkeit zu einer Sammlung" + ) + .setMqTag("first"); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Code je nach Indikatoren", "R" + ); + + getSubfield("a").setCodes( + "pd", "Books on demand", + "ra", "Reihe A", + "rb", "Reihe B", + "rc", "Reihe C", + "rh", "Reihe H", + "ro", "Reihe O", + "rm", "Reihe M", + "rt", "Reihe T", + "rg", "Fremdsprachige Germanica (1992 - 2003)", + "ru", "Übersetzung deutschsprachiger Werke (1992 - 2003)", + "ep", "E-Paper" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java new file mode 100644 index 000000000..0b9914922 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java @@ -0,0 +1,62 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Thema-Klassifikation + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag926 extends DataFieldDefinition { + + private static Tag926 uniqueInstance; + + private Tag926() { + initialize(); + postCreation(); + } + + public static Tag926 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag926(); + return uniqueInstance; + } + + private void initialize() { + tag = "926"; + label = "Thema-Klassifikation"; + mqTag = "ThemaKlassifikation"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator("Level der Thema-Klassifikation") + .setCodes( + "1", "Primär (aus ONIX mainsubject)", + "2", "Sekundär (aus ONIX subject)" + ) + .setMqTag("level"); + + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Thema-Code (Subjects + Qualifier)", "NR", + "o", "ONIX-Code für Thema-Klasse", "NR", + "q", "Thema-Quelle (Sourcename)", "NR", + "v", "Thema-Version", "NR", + "x", "Thema-Text", "NR" + ); + + getSubfield("o").setCodes( + "93", "Thema subject category", + "94", "Thema geographical qualifier", + "95", "Thema language qualifier", + "96", "Thema time period qualifier", + "97", "Thema educational purpose qualifier", + "98", "Thema interest age / special interest qualifier", + "99", "Thema style qualifier" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java new file mode 100644 index 000000000..4e8f9fc03 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java @@ -0,0 +1,49 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Unterreihenangaben in strukturierter Form - ZDB + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag930 extends DataFieldDefinition { + + private static Tag930 uniqueInstance; + + private Tag930() { + initialize(); + postCreation(); + } + + public static Tag930 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag930(); + return uniqueInstance; + } + + private void initialize() { + tag = "930"; + label = "Unterreihenangaben in strukturierter Form - ZDB"; + mqTag = "UnterreihenangabenInStrukturierterFormZDB"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Titel der Unterreihe", "NR", + "d", "Zusatz zum Sachtitel/Parallelsachtitel der Unterreihe", "R", + "e", "Reihenbezeichnung und /oder Zählung", "R", + "f", "Parallelsachtitel zur UR(@)", "R", + "h", "Verfasserangabe zur Unterreihe", "NR", + "l", "Reihenbezeichnung und /oder Zählung", "NR", + "n", "Reihenbezeichnung und /oder Zählung", "NR", + "r", "Undifferenzierter Text", "NR" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java new file mode 100644 index 000000000..b5c2a9fab --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java @@ -0,0 +1,43 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Gravierende Korrektur - ZDB + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag931 extends DataFieldDefinition { + + private static Tag931 uniqueInstance; + + private Tag931() { + initialize(); + postCreation(); + } + + public static Tag931 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag931(); + return uniqueInstance; + } + + private void initialize() { + tag = "931"; + label = "Gravierende Korrektur - ZDB"; + mqTag = "GravierendeKorrekturZDB"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Datum (JJ-MM-TT)", "NR", + "b", "Selektionsschlüssel", "NR" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java new file mode 100644 index 000000000..f434f908d --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java @@ -0,0 +1,42 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Online-Contents-Ausschnittskennung - ZDB + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag932 extends DataFieldDefinition { + + private static Tag932 uniqueInstance; + + private Tag932() { + initialize(); + postCreation(); + } + + public static Tag932 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag932(); + return uniqueInstance; + } + + private void initialize() { + tag = "932"; + label = "Online-Contents-Ausschnittskennung - ZDB"; + mqTag = "OnlineContentsAusschnittskennungZDB"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Online-Contents-Ausschnittskennung", "R" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/package-info.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/package-info.java new file mode 100644 index 000000000..b584195f1 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/package-info.java @@ -0,0 +1,16 @@ +/** + * This package contains the tags specifics at Hochschulbibliothekszentrum after publishing from ALMA + * + * The source of the classes is this document: + * + * Feldbeschreibung der Titeldaten der Deutschen Nationalbibliothek und der + * Zeitschriftendatenbank im Format MARC 21 + * + * Version 2.4 + * Stand: 16. Oktober 2017 + * + * Available at http://www.dnb.de/EN/Standardisierung/Formate/MARC21/marc21_node.html + */ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +//rest of the file is empty \ No newline at end of file From de2ada1d586777f3e533ef90bcb8bbe721561c56 Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Fri, 16 Aug 2024 14:00:14 +0200 Subject: [PATCH 02/54] Add Tag for MNG and GPN Based on https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 --- .../marc/definition/tags/hbztags/TagGPN.java | 51 +++++++++++++++++++ .../marc/definition/tags/hbztags/TagMNG.java | 50 ++++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagMNG.java diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java new file mode 100644 index 000000000..8e0f3a85b --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java @@ -0,0 +1,51 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Personal Name (GPN) - GND 400 from ALMA Publishing GND Authority Enrichment + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on PICA+ Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664281/400.pdf + */ +public class TagGPN extends DataFieldDefinition { + + private static TagGPN uniqueInstance; + + private TagGPN() { + initialize(); + postCreation(); + } + + public static TagGPN getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagGPN(); + return uniqueInstance; + } + + private void initialize() { + tag = "GPN"; + label = "Personal Name (GPN) - GND 400"; + mqTag = "GNDPersonalName"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "4", "GND-Code für Beziehungen", "NR", + "5", "InstitutioNR(=ISIL), die Feld iNRbesonderer Art verwendet", "R", + "a", "Nachname", "NR", + "c", "Nachgestelltes Präfix", "NR", + "d", "Vorname", "NR", + "g", "Zusatz", "R", + "l", "Beiname, Gattungsname, Titulatur, Territorium", "NR", + "L", "Sprachencode", "NR", + "N", "Zählung", "NR", + "P", "Persönlicher Name", "NR", + "v", "Bemerkungen, Regelwerk", "R", + "x", "Allgemeine Unterteilung", "R" + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagMNG.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagMNG.java new file mode 100644 index 000000000..4a4a2a4f9 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagMNG.java @@ -0,0 +1,50 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Management Information (MNG) from ALMA Publishing + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + */ +public class TagMNG extends DataFieldDefinition { + + private static TagMNG uniqueInstance; + + private TagMNG() { + initialize(); + postCreation(); + } + + public static TagMNG getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagMNG(); + return uniqueInstance; + } + + private void initialize() { + tag = "MNG"; + label = "Management Information (MNG)"; + mqTag = "ManagementInformation"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Created by subfield", "R", + "b", "Create date subfield", "R", + "c", "Updated by subfield", + "d", "Update date subfield", "R", + "e", "Suppress from publishing subfield", "R", + "f", "Originating system subfield", "R", + "g", "Originating system ID subfield", "R", + "h", "Originating system version subfield", "R", + "i", "Record format subfield", "R", + "j", "Cataloging level subfield", "R", + "k", "Brief level subfield", "R" + ); + } +} From d471b53dbf4281496a8455cdd416f1bcc295d4a5 Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Fri, 16 Aug 2024 17:53:59 +0200 Subject: [PATCH 03/54] Add all other ALMA publishing profil elements --- .../marc/definition/tags/hbztags/TagGEL.java | 60 +++++++++++++ .../marc/definition/tags/hbztags/TagGGN.java | 52 +++++++++++ .../marc/definition/tags/hbztags/TagGKT.java | 53 +++++++++++ .../marc/definition/tags/hbztags/TagGPN.java | 7 +- .../marc/definition/tags/hbztags/TagGSI.java | 45 ++++++++++ .../marc/definition/tags/hbztags/TagGST.java | 51 +++++++++++ .../marc/definition/tags/hbztags/TagH16.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH24.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH35.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH42.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH43.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH52.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH56.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH59.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH62.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH66.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH69.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH80.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH83.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH89.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH92.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH93.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH94.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagH95.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagHAD.java | 46 ++++++++++ .../marc/definition/tags/hbztags/TagHOL.java | 47 ++++++++++ .../marc/definition/tags/hbztags/TagITM.java | 89 +++++++++++++++++++ .../marc/definition/tags/hbztags/TagMBD.java | 44 +++++++++ .../marc/definition/tags/hbztags/TagPOC.java | 53 +++++++++++ .../marc/definition/tags/hbztags/TagPOE.java | 47 ++++++++++ .../marc/definition/tags/hbztags/TagPOR.java | 72 +++++++++++++++ 31 files changed, 1493 insertions(+), 1 deletion(-) create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGEL.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGGN.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKT.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGSI.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGST.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH16.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH35.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH42.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH43.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH52.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH62.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH66.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH80.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH83.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH89.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagITM.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagMBD.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOC.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOE.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGEL.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGEL.java new file mode 100644 index 000000000..6016535ff --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGEL.java @@ -0,0 +1,60 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Uniform Title (GEL) from ALMA Publishing GND Authority Enrichment + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on PICA+ Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/167033591/430.pdf + */ +public class TagGEL extends DataFieldDefinition { + + private static TagGEL uniqueInstance; + + private TagGEL() { + initialize(); + postCreation(); + } + + public static TagGEL getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagGEL(); + return uniqueInstance; + } + + private void initialize() { + tag = "GEL"; + label = "Uniform Title (GEL) - GND 430"; + mqTag = "GNDUniformTitle"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "4", "GND-Code für Beziehungen", "NR", + "5", "Institution (ISIL), die Feld in besonderer Art verwendet", "R", + "a", "Titel eines Werks", "NR", + "f", "Datum", "NR", + "g", "Zusatz", "R", + "h", "Inhaltstyp", "R", + "l", "Sprache der Expression", "R", + "L", "Sprachencode", "NR", + "m", "Besetzung im Musikbereich", "NR", + "n", "Zählung eines Teils/einer Abteilung eines Werks", "R", + "o", "Angaben des Musikarrangements", "NR", + "p", "Titel eines Teils/einer Abteilung eines Werks", "R", + "r", "Tonart", "NR", + "s", "Version", "NR", + "v", "Bemerkungen, Regelwerk", "R", + "x", "Allgemeine Unterteilung (temporär durch Migration)", "R", + "T", "Feldzuordnung bei nicht-lateinischen Schriftzeichen", "NR", + "U", "Schriftcode bei nicht-lateinischen Schriftzeichen", "NR", + "A", "Vocabulary subfield", "R", + "B", "Authority ID subfield", "R", + "C", "Authority tag subfield","R" + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGGN.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGGN.java new file mode 100644 index 000000000..73680660c --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGGN.java @@ -0,0 +1,52 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Geographic Name(GGN) from ALMA Publishing GND Authority Enrichment + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on PICA+ Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664311/451.pdf + */ +public class TagGGN extends DataFieldDefinition { + + private static TagGGN uniqueInstance; + + private TagGGN() { + initialize(); + postCreation(); + } + + public static TagGGN getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagGGN(); + return uniqueInstance; + } + + private void initialize() { + tag = "GGN"; + label = "Geographic Name (GGN) - GND 451"; + mqTag = "GNDGeographicName"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "4", "GND-Code für Beziehungen", "NR", + "5", "Institution (ISIL), die Feld in besonderer Art verwendet", "R", + "a", "Geografikum", "NR", + "g", "Zusatz", "R", + "L", "Sprachencode", "NR", + "v", "Bemerkungen, Regelwerk", "R", + "x", "Allgemeine Unterteilung (temporär durch Migration)", "R", + "z", "Geografische Untergliederung", "R", + "T", "Feldzuordnung bei nicht-lateinischen Schriftzeichen", "NR", + "U", "Schriftcode bei nicht-lateinischen Schriftzeichen", "NR", + "A", "Vocabulary subfield", "R", + "B", "Authority ID subfield", "R", + "C", "Authority tag subfield","R" + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKT.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKT.java new file mode 100644 index 000000000..cd18b704f --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKT.java @@ -0,0 +1,53 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Corporate Name (GKT) from ALMA Publishing GND Authority Enrichment + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on PICA+ Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664309/410.pdf + */ +public class TagGKT extends DataFieldDefinition { + + private static TagGKT uniqueInstance; + + private TagGKT() { + initialize(); + postCreation(); + } + + public static TagGKT getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagGKT(); + return uniqueInstance; + } + + private void initialize() { + tag = "GKT"; + label = "Corporate Name (GKT) - GND 410"; + mqTag = "GNDCorporateName"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "4", "GND-Code für Beziehungen", "NR", + "5", "Institution (ISIL), die Feld in besonderer Art verwendet", "R", + "a", "Hauptkörperschaft", "NR", + "b", "Untergeordnete Körperschaft", "R", + "g", "Zusatz", "R", + "L", "Sprachencode", "NR", + "n", "Zählung", "R", + "v", "Bemerkungen, Regelwerk", "R", + "x", "Allgemeine Unterteilung (temporär durch Migration)", "R", + "T", "Feldzuordnung bei nicht-lateinischen Schriftzeichen", "NR", + "U", "Schriftcode bei nicht-lateinischen Schriftzeichen", "NR", + "A", "Vocabulary subfield", "R", + "B", "Authority ID subfield", "R", + "C", "Authority tag subfield","R" + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java index 8e0f3a85b..cc6161282 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java @@ -45,7 +45,12 @@ private void initialize() { "N", "Zählung", "NR", "P", "Persönlicher Name", "NR", "v", "Bemerkungen, Regelwerk", "R", - "x", "Allgemeine Unterteilung", "R" + "x", "Allgemeine Unterteilung", "R", + "T", "Feldzuordnung bei nicht-lateinischen Schriftzeichen", "NR", + "U", "Schriftcode bei nicht-lateinischen Schriftzeichen", "NR", + "A", "Vocabulary subfield", "R", + "B", "Authority ID subfield", "R", + "C", "Authority tag subfield","R" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGSI.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGSI.java new file mode 100644 index 000000000..f2b886537 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGSI.java @@ -0,0 +1,45 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Identifier/System Control Number (GSI) from ALMA Publishing GND Authority Enrichment + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on PICA+ Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664257/024.pdf + */ +public class TagGSI extends DataFieldDefinition { + + private static TagGSI uniqueInstance; + + private TagGSI() { + initialize(); + postCreation(); + } + + public static TagGSI getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagGSI(); + return uniqueInstance; + } + + private void initialize() { + tag = "GSI"; + label = "Identifier/System Control Number (GSI) - GND 024"; + mqTag = "GNDIdentifierSystemControlNumber"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "0", "Nummer/Code", "R", + "S", "Quelle/Code der Standardnummer", "NR", + "v", "Bemerkung", "NR", + "A", "Vocabulary subfield", "R", + "B", "Authority ID subfield", "R", + "C", "Authority tag subfield","R" + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGST.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGST.java new file mode 100644 index 000000000..7b121db00 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGST.java @@ -0,0 +1,51 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Topical Term (GST) from ALMA Publishing GND Authority Enrichment + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on PICA+ Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664284/450.pdf + */ +public class TagGST extends DataFieldDefinition { + + private static TagGST uniqueInstance; + + private TagGST() { + initialize(); + postCreation(); + } + + public static TagGST getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagGST(); + return uniqueInstance; + } + + private void initialize() { + tag = "GST"; + label = "Topical Term (GST) - GND 450"; + mqTag = "GNDTopicalTerm"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "4", "GND-Code für Beziehungen", "NR", + "5", "Institution (ISIL), die Feld in besonderer Art verwendet", "R", + "a", "Sachbegriff", "NR", + "g", "Zusatz", "R", + "L", "Sprachencode", "NR", + "v", "Bemerkungen, Regelwerk", "R", + "x", "Allgemeine Unterteilung (temporär durch Migration)", "R", + "T", "Feldzuordnung bei nicht-lateinischen Schriftzeichen", "NR", + "U", "Schriftcode bei nicht-lateinischen Schriftzeichen", "NR", + "A", "Vocabulary subfield", "R", + "B", "Authority ID subfield", "R", + "C", "Authority tag subfield","R" + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH16.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH16.java new file mode 100644 index 000000000..bc98fe731 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH16.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * National Bibliographic Agency Control Number (H16) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on https://www.loc.gov/marc/holdings/hd016.html + */ +public class TagH16 extends DataFieldDefinition { + + private static TagH16 uniqueInstance; + + private TagH16() { + initialize(); + postCreation(); + } + + public static TagH16 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH16(); + return uniqueInstance; + } + + private void initialize() { + tag = "H16"; + label = "National Bibliographic Agency Control Number (H16) - Marc 016 024"; + mqTag = "H16NationalBibliographicAgencyControlNumber"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java new file mode 100644 index 000000000..cd8ef8726 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Other Standard Identifier (H24) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on https://www.loc.gov/marc/holdings/hd024.html + */ +public class TagH24 extends DataFieldDefinition { + + private static TagH24 uniqueInstance; + + private TagH24() { + initialize(); + postCreation(); + } + + public static TagH24 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH24(); + return uniqueInstance; + } + + private void initialize() { + tag = "H24"; + label = "Other Standard Identifier (H24) - Marc 024"; + mqTag = "H24OtherStandardIdentifier"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH35.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH35.java new file mode 100644 index 000000000..fde3bdf8b --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH35.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * System Control Number (H35) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on https://www.loc.gov/marc/holdings/hd035.html + */ +public class TagH35 extends DataFieldDefinition { + + private static TagH35 uniqueInstance; + + private TagH35() { + initialize(); + postCreation(); + } + + public static TagH35 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH35(); + return uniqueInstance; + } + + private void initialize() { + tag = "H35"; + label = "System Control Number (H35) - Marc 035"; + mqTag = "H35SystemControlNumber"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH42.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH42.java new file mode 100644 index 000000000..0eebca17a --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH42.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Textual Physical Form Designator (H42) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on https://www.loc.gov/marc/holdings/hd842.html + */ +public class TagH42 extends DataFieldDefinition { + + private static TagH42 uniqueInstance; + + private TagH42() { + initialize(); + postCreation(); + } + + public static TagH42 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH42(); + return uniqueInstance; + } + + private void initialize() { + tag = "H42"; + label = "Textual Physical Form Designator (H42) - Marc 842"; + mqTag = "H42TextualPhysicalFormDesignator"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH43.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH43.java new file mode 100644 index 000000000..744b154aa --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH43.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Reproduction Note (H43) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on https://www.loc.gov/marc/holdings/hd843.html + */ +public class TagH43 extends DataFieldDefinition { + + private static TagH43 uniqueInstance; + + private TagH43() { + initialize(); + postCreation(); + } + + public static TagH43 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH43(); + return uniqueInstance; + } + + private void initialize() { + tag = "H43"; + label = "Reproduction Note (H43) - Marc 843"; + mqTag = "H43ReproductionNote"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH52.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH52.java new file mode 100644 index 000000000..b235c1716 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH52.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Location (H52) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on https://www.loc.gov/marc/holdings/hd852.html + */ +public class TagH52 extends DataFieldDefinition { + + private static TagH52 uniqueInstance; + + private TagH52() { + initialize(); + postCreation(); + } + + public static TagH52 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH52(); + return uniqueInstance; + } + + private void initialize() { + tag = "H52"; + label = "Location (H52) - Marc 852"; + mqTag = "H52Location"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java new file mode 100644 index 000000000..d2ff5a751 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Electronic Location and Access (H56) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on https://www.loc.gov/marc/holdings/hd856.html + */ +public class TagH56 extends DataFieldDefinition { + + private static TagH56 uniqueInstance; + + private TagH56() { + initialize(); + postCreation(); + } + + public static TagH56 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH56(); + return uniqueInstance; + } + + private void initialize() { + tag = "H56"; + label = "Electronic Location and Access (H56) - Marc 856"; + mqTag = "H56ElectronicLocationandAccess"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java new file mode 100644 index 000000000..36a8100b9 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * LOCAL 859 (H59) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + */ +public class TagH59 extends DataFieldDefinition { + + private static TagH59 uniqueInstance; + + private TagH59() { + initialize(); + postCreation(); + } + + public static TagH59 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH59(); + return uniqueInstance; + } + + private void initialize() { + tag = "H59"; + label = "LOCAL 859 (H59)"; + mqTag = "LOCAL859"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH62.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH62.java new file mode 100644 index 000000000..551978c05 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH62.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Copy and Version Identification Note (H62) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on https://www.loc.gov/marc/holdings/hd562.html + */ +public class TagH62 extends DataFieldDefinition { + + private static TagH62 uniqueInstance; + + private TagH62() { + initialize(); + postCreation(); + } + + public static TagH62 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH62(); + return uniqueInstance; + } + + private void initialize() { + tag = "H62"; + label = "Copy and Version Identification Note (H62) - Marc 562"; + mqTag = "H62CopyandVersionIdentificationNote"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH66.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH66.java new file mode 100644 index 000000000..3ed1cd66f --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH66.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Textual Holdings - Basic Bibliographic Unit (H66) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on https://www.loc.gov/marc/holdings/hd866.html + */ +public class TagH66 extends DataFieldDefinition { + + private static TagH66 uniqueInstance; + + private TagH66() { + initialize(); + postCreation(); + } + + public static TagH66 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH66(); + return uniqueInstance; + } + + private void initialize() { + tag = "H66"; + label = "Textual Holdings - Basic Bibliographic Unit (H66) - Marc 866"; + mqTag = "H66ElectronicLocationandAccess"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java new file mode 100644 index 000000000..8b40b8dad --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * LOCAL 869 (H69) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + */ +public class TagH69 extends DataFieldDefinition { + + private static TagH69 uniqueInstance; + + private TagH69() { + initialize(); + postCreation(); + } + + public static TagH69 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH69(); + return uniqueInstance; + } + + private void initialize() { + tag = "H69"; + label = "LOCAL 869 (H69)"; + mqTag = "LOCAL869"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH80.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH80.java new file mode 100644 index 000000000..a7f828236 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH80.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * LOCAL 980 (H80) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + */ +public class TagH80 extends DataFieldDefinition { + + private static TagH80 uniqueInstance; + + private TagH80() { + initialize(); + postCreation(); + } + + public static TagH80 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH80(); + return uniqueInstance; + } + + private void initialize() { + tag = "H80"; + label = "LOCAL 980 (H80)"; + mqTag = "LOCAL980"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH83.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH83.java new file mode 100644 index 000000000..1e44484e5 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH83.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Copy and Version Identification Note (H83) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on https://www.loc.gov/marc/holdings/hd583.html + */ +public class TagH83 extends DataFieldDefinition { + + private static TagH83 uniqueInstance; + + private TagH83() { + initialize(); + postCreation(); + } + + public static TagH83 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH83(); + return uniqueInstance; + } + + private void initialize() { + tag = "H83"; + label = "Action Note (H83) - Marc 583"; + mqTag = "H83ActionNote"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH89.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH89.java new file mode 100644 index 000000000..2bdf28f69 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH89.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * LOCAL 689 (H89) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + */ +public class TagH89 extends DataFieldDefinition { + + private static TagH89 uniqueInstance; + + private TagH89() { + initialize(); + postCreation(); + } + + public static TagH89 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH89(); + return uniqueInstance; + } + + private void initialize() { + tag = "H89"; + label = "LOCAL 689 (H89)"; + mqTag = "LOCAL689"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java new file mode 100644 index 000000000..706199411 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * LOCAL 092 (H92) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + */ +public class TagH92 extends DataFieldDefinition { + + private static TagH92 uniqueInstance; + + private TagH92() { + initialize(); + postCreation(); + } + + public static TagH92 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH92(); + return uniqueInstance; + } + + private void initialize() { + tag = "H92"; + label = "LOCAL 092 (H92)"; + mqTag = "LOCAL092"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java new file mode 100644 index 000000000..c80f972aa --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * LOCAL 093 (H93) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + */ +public class TagH93 extends DataFieldDefinition { + + private static TagH93 uniqueInstance; + + private TagH93() { + initialize(); + postCreation(); + } + + public static TagH93 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH93(); + return uniqueInstance; + } + + private void initialize() { + tag = "H93"; + label = "LOCAL 093 (H93)"; + mqTag = "LOCAL093"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java new file mode 100644 index 000000000..3a9478259 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * LOCAL 094 (H94) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + */ +public class TagH94 extends DataFieldDefinition { + + private static TagH94 uniqueInstance; + + private TagH94() { + initialize(); + postCreation(); + } + + public static TagH94 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH94(); + return uniqueInstance; + } + + private void initialize() { + tag = "H94"; + label = "LOCAL 094 (H94)"; + mqTag = "LOCAL094"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java new file mode 100644 index 000000000..95ba65811 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * LOCAL 695 (H95) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + */ +public class TagH95 extends DataFieldDefinition { + + private static TagH95 uniqueInstance; + + private TagH95() { + initialize(); + postCreation(); + } + + public static TagH95 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagH95(); + return uniqueInstance; + } + + private void initialize() { + tag = "H95"; + label = "LOCAL 695 (H95)"; + mqTag = "LOCAL695"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java new file mode 100644 index 000000000..a1642001d --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Alte Drucke/Provenienz LOCAL 992 (HAD) from ALMA Publishing Holdings information (Hxx) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + */ +public class TagHAD extends DataFieldDefinition { + + private static TagHAD uniqueInstance; + + private TagHAD() { + initialize(); + postCreation(); + } + + public static TagHAD getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagHAD(); + return uniqueInstance; + } + + private void initialize() { + tag = "HAD"; + label = "LOCAL 992 (HAD)"; + mqTag = "LOCAL992"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + // TODO: Needs to be adjusted: + // setSubfieldsWithCardinality( + // "0", "Nummer/Code", "R", + // "S", "Quelle/Code der Standardnummer", "NR", + // "v", "Bemerkung", "NR", + // "A", "Vocabulary subfield", "R", + // "B", "Authority ID subfield", "R", + // "C", "Authority tag subfield","R" + // ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java new file mode 100644 index 000000000..948ce896c --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java @@ -0,0 +1,47 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Additional Holdings Fields (HOL) from ALMA Publishing + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + */ +public class TagHOL extends DataFieldDefinition { + + private static TagHOL uniqueInstance; + + private TagHOL() { + initialize(); + postCreation(); + } + + public static TagHOL getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagHOL(); + return uniqueInstance; + } + + private void initialize() { + tag = "HOL"; + label = "Additional Holdings Fields (HOL)"; + mqTag = "AdditionalHoldingsFields"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Created by subfield", "R", + "b", "Create date subfield", "R", + "c", "Updated by subfield", + "d", "Update date subfield", "R", + "e", "Library name subfield", "R", + "f", "Location name subfield", "R", + "g", "Suppress from publishing subfield", "R", + "M", "Member code subfield", "R" + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagITM.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagITM.java new file mode 100644 index 000000000..6682f0c4e --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagITM.java @@ -0,0 +1,89 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Items Information (ITM) from ALMA Publishing + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + */ +public class TagITM extends DataFieldDefinition { + + private static TagITM uniqueInstance; + + private TagITM() { + initialize(); + postCreation(); + } + + public static TagITM getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagITM(); + return uniqueInstance; + } + + private void initialize() { + tag = "ITM"; + label = "Items Information (ITM)"; + mqTag = "ItemsInformation"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality("a", "Item PID subfield", "R", + "b", "Barcode subfield", "R", + "e", "Copy ID subfield", "R", + "f", "Material type subfield", "R", + "p", "Item policy subfield", "R", + "s", "Item status subfield", "R", + "g", "Provenance subfield", "R", + "h", "Is magnetic subfield", "R", + "i", "Enumeration A subfield", "R", + "j", "Enumeration B subfield", "R", + "k", "Chronology I subfield", "R", + "m", "Chronology J subfield", "R", + "q", "Description subfield", "R", + "r", "Process type subfield", "R", + "u", "Permanent library subfield", "R", + "v", "Permanent location subfield", "R", + "w", "Current library subfield", "R", + "x", "Current location subfield", "R", + "d", "Call number type subfield", "R", + "c", "Call number subfield", "R", + "t", "Item call number type subfield", "R", + "n", "Item call number subfield", "R", + "y", "Temporary call number type subfield", "R", + "z", "Temporary call number subfield", "R", + "B", "Inventory number subfield", "R", + "D", "Inventory date subfield", "R", + "E", "Storage location ID subfield", "R", + "F", "Pages subfield", "R", + "G", "Pieces subfield", "R", + "J", "Public note subfield", "R", + "K", "Fulfillment note subfield", "R", + "L", "Internal note 1 subfield", "R", + "N", "Internal note 2 subfield", "R", + "O", "Internal note 3 subfield", "R", + "P", "Statistics note 1 subfield", "R", + "Q", "Statistics note 2 subfield", "R", + "R", "Statistics note 3 subfield", "R", + "S", "PO line number subfield", "R", + "T", "Due back date subfield", "R", + "U", "Receiving date subfield", "R", + "V", "Created by subfield", "R", + "W", "Create date subfield", "R", + "X", "Updated by subfield", "R", + "Y", "Update date subfield", "R", + "H", "Holdings ID subfield", "R", + "M", "Member code subfield", "R", + "C", "Campus of current library subfield", "R", + "Z", "Physical condition subfield", "R", + "A", "Committed to retain subfield ", "R", + "I", "Retention reason subfield", "R", + "l", "Retention note subfield", "R" + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagMBD.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagMBD.java new file mode 100644 index 000000000..39decb58d --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagMBD.java @@ -0,0 +1,44 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import org.apache.spark.sql.catalyst.expressions.Month; +import org.sparkproject.jetty.server.RequestLog.Collection; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Members Information (MBD) from ALMA Publishing + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + */ +public class TagMBD extends DataFieldDefinition { + + private static TagMBD uniqueInstance; + + private TagMBD() { + initialize(); + postCreation(); + } + + public static TagMBD getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagMBD(); + return uniqueInstance; + } + + private void initialize() { + tag = "MBD"; + label = "Members Information (MBD)"; + mqTag = "MembersInformation"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality("M", "Member code subfield", "R", + "i", "Member BIB MMS ID subfield", "R", + "n", "Member name subfield", "R" + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOC.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOC.java new file mode 100644 index 000000000..291ef44ce --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOC.java @@ -0,0 +1,53 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import org.apache.spark.sql.catalyst.expressions.Month; +import org.sparkproject.jetty.server.RequestLog.Collection; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Portfolio Coverage Information (POC) from ALMA Publishing + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + */ +public class TagPOC extends DataFieldDefinition { + + private static TagPOC uniqueInstance; + + private TagPOC() { + initialize(); + postCreation(); + } + + public static TagPOC getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagPOC(); + return uniqueInstance; + } + + private void initialize() { + tag = "POC"; + label = "Portfolio Coverage Information (POC)"; + mqTag = "PortfolioCoverageInformation"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality("a", "Portfolio ID subfield", "R", + "b", "From Year subfield", "R", + "c", "Until Year subfield", "R", + "d", "From Month subfield", "R", + "e", "Until Month subfield", "R", + "f", "From Day subfield", "R", + "g", "Until Day subfield", "R", + "h", "From Volume subfield", "R", + "i", "Until Volume subfield", "R", + "j", "From Issue subfield", "R", + "k", "Until Issue subfield", "R" + + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOE.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOE.java new file mode 100644 index 000000000..01b12e378 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOE.java @@ -0,0 +1,47 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import org.apache.spark.sql.catalyst.expressions.Month; +import org.sparkproject.jetty.server.RequestLog.Collection; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Portfolio Embargo Information (POE) from ALMA Publishing + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + */ +public class TagPOE extends DataFieldDefinition { + + private static TagPOE uniqueInstance; + + private TagPOE() { + initialize(); + postCreation(); + } + + public static TagPOE getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagPOE(); + return uniqueInstance; + } + + private void initialize() { + tag = "POE"; + label = "Portfolio Embargo Information (POE)"; + mqTag = "PortfolioEmbargoInformation"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality("a", "Portfolio ID subfield", "R", + "b", "Operator subfield", "R", + "c", "Number of Years subfield", "R", + "d", "From Month subfield", "R", + "e", "Number of Months subfield", "R" + + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java new file mode 100644 index 000000000..511ec2c2e --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java @@ -0,0 +1,72 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import org.sparkproject.jetty.server.RequestLog.Collection; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Electronic Portfolio Information (POR) from ALMA Publishing + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + */ +public class TagPOR extends DataFieldDefinition { + + private static TagPOR uniqueInstance; + + private TagPOR() { + initialize(); + postCreation(); + } + + public static TagPOR getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagPOR(); + return uniqueInstance; + } + + private void initialize() { + tag = "POR"; + label = "Electronic Portfolio Information (POR)"; + mqTag = "ElectronicPortfolioInformation"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality("a", "Portfolio PID", "R", + "b", "Activation Status", "R", + "c", "URL Type subfield", "R", + "d", "Access URL subfield", "R", + "e", "Static URL","R", + "f", "Electronic Material Type subfield", "R", + "g", "Library subfield", "R", + "h", "Proxy Selected subfield", "R", + "i", "Proxy Enabled subfield", "R", + "j", "Interface Name subfield", "R", + "k", "Authentication Note subfield", "R", + "l", "Public Note subfield", "R", + "m", "Portfolio/Service Internal Description subfield", "R", + "n", "Coverage Statement subfield", "R", + "o", "CZ Collection Identifier subfield", "R", + "p", "Collection ID subfield", "R", + "q", "Collection Name subfield", "R", + "B", "Collection Internal Description subfield", "R", + "r", "License Code subfield", "R", + "s", "License Name subfield", "R", + "t", "PO Line subfield", "R", + "u", "Additional PO Line subfield", "R", + "v", "Created by subfield", "R", + "w", "Create date subfield", "R", + "x", "Updated by subfield", "R", + "y", "Update date subfield", "R", + "z", "Activation date subfield", "R", + "D", "Direct Link subfield", "R", + "M", "Member code subfield", "R", + "A", "Available for Institution subfield", "R", + "S", "Service ID subfield", "R" + + ); + } +} From bc6aeae4239e77510d914a0435e2f2184396b56b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Mon, 19 Aug 2024 10:26:16 +0200 Subject: [PATCH 04/54] Add hbz element 960 --- .../marc/definition/tags/hbztags/Tag960.java | 102 ++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java new file mode 100644 index 000000000..127e835b3 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java @@ -0,0 +1,102 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Selektionskennzeichen NZ + */ +public class Tag960 extends DataFieldDefinition { + + private static Tag960 uniqueInstance; + + private Tag960() { + initialize(); + postCreation(); + } + + public static Tag960 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag960(); + return uniqueInstance; + } + + private void initialize() { + tag = "960"; + label = "Selektionskennzeichen NZ"; + mqTag = "SelektionskennzeichenNZ"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/nebenbei/cgi/anonymous_display_only.pl?pageId=706314428"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "b", "bibliographische Sachverhalte", "R", + "d", "lizenzfreie Online-Dissertationen", "R", + "f", "fremdsprachige Titel", "R", + "i", "Internet-Ressourcen", "R", + "n", "Nordrhein-Westfälische Bibliographie", "R", + "o", "Offline-Datenübernahmen", "R", + "r", "frei definierbare Selektionskennzeichen für Bibliotheken", "R", + "s", "Sammlung E-Paper (DNB-Codierung ep)", "R", + "u", "Lizenzhistorie EBooks:Produktsigel", "R", + "v", "Lizenzhistorie EBooks: Lizenzjahr (NW)", "R", + "w", "Lizenzhistorie EBooks: Datum Aufbau des Feldes Lizenzhistorie Books", "R", + "z", "SelektionskennzeichenZDB", "R" + ); + + getSubfield("b").setCodes( + "bestellt", "Bestellaufnahme", + "AAD", "Alter Druck", + "Handschrift", "Handschrift", + "Inkunabel", "Inkunabel", + "vd18print", "Projekt VD 18", + "vd18red", "Projekt VD18", + "ixtheo", "Index Theologie", + "Mindestkatalogisat", "Katalogisat im Mindeststandard", + "moj", "Musikalien ohne Jahr", + "roj", "Retro-Aufnahme ohne Jahr", + "Schulprogramm", "Schulprogramm", + "Theaterzettel", "Theaterzettel" + ); + + getSubfield("d").setCodes( + "lzDiss", "lizenzfreie Online-Dissertation" + ); + + getSubfield("f").setCodes( + "ara", "arabisch (mit Orig.schr.)", + "arab", "arabisch", + "arm", "armenisch (Orig.-schrift)", + "geo", "georgisch (Orig.-schrift)", + "griech", "alt- und neugriechisch (mit Orig.schr.)", + "heb", "hebräisch (mit Orig.schr.)", + "hebr", "hebräisch (ohne Orig.schr.)", + "jid", "jiddisch", + "sla", "kyrillisch (mit Orig.schr.)", + "kyr", "kyrillisch (ohne Orig.schr.)", + "oas", "ostasiatisch", + "chin", "chinesisch (Orig.-schrift)", + "jap", "japanisch (Orig.-schrift)", + "korea", "koreanisch (Orig.-schrift)", + ); + + getSubfield("i").setCodes( + "iall", "Internet-Ressource allg.", + "OA", "Open Access" + ); + + getSubfield("n").setCodes( + "NWBib", "Nordrhein-westfälische Bibliographie", + "NWBib-Zeitschrift", "NWBib-Zeitschrift", + "prov", "provisor. Aufn. f. NWBib" + ); + + getSubfield("o").setCodes( + "bdf", "Bibliothek der Frauenfrage in Deutschland" + ); + + } +} From e8f0d847c16a6af8107ad2b00a60a730e5bea495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Mon, 19 Aug 2024 10:34:48 +0200 Subject: [PATCH 05/54] Add hbz element 961 --- .../marc/definition/tags/hbztags/Tag961.java | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag961.java diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag961.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag961.java new file mode 100644 index 000000000..0e5157f97 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag961.java @@ -0,0 +1,40 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Sonstige Standardnummer + */ +public class Tag961 extends DataFieldDefinition { + + private static Tag961 uniqueInstance; + + private Tag961() { + initialize(); + postCreation(); + } + + public static Tag961 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag961(); + return uniqueInstance; + } + + private void initialize() { + tag = "961"; + label = "Sonstige Standardnummer"; + mqTag = "SonstigeStandardnummer"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/nebenbei/cgi/anonymous_display_only.pl?pageId=717357250"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Sonstige Standardnummer", "R" + ); + + } +} From 66aaaf8f20015e497d33d4a5ee3cbbce87672e7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Mon, 19 Aug 2024 10:40:13 +0200 Subject: [PATCH 06/54] Add hbz element 962 --- .../marc/definition/tags/hbztags/Tag962.java | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java new file mode 100644 index 000000000..a7f3fa8ef --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java @@ -0,0 +1,40 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Selektionskennzeichen EBooks, Digitalisate + */ +public class Tag962 extends DataFieldDefinition { + + private static Tag962 uniqueInstance; + + private Tag962() { + initialize(); + postCreation(); + } + + public static Tag962 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag962(); + return uniqueInstance; + } + + private void initialize() { + tag = "962"; + label = "Selektionskennzeichen EBooks, Digitalisate"; + mqTag = "SelektionskennzeichenEBooksDigitalisate"; + cardinality = Cardinality.Nonrepeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/display/VDBE/962+-+Selektionskennzeichen+EBooks%2C+Digitalisate"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "e", "Selektionskennzeichen EBooks, Digitalisate", "R" + ); + + } +} From 10a4c8462d433ff075345a3fa81aabef27936698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Mon, 19 Aug 2024 10:44:01 +0200 Subject: [PATCH 07/54] Add hbz element 964 --- .../marc/definition/tags/hbztags/Tag964.java | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java new file mode 100644 index 000000000..5e67be16b --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java @@ -0,0 +1,42 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * In Aleph benötigte Informationen (Wickelfeld) + */ +public class Tag964 extends DataFieldDefinition { + + private static Tag964 uniqueInstance; + + private Tag964() { + initialize(); + postCreation(); + } + + public static Tag964 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag964(); + return uniqueInstance; + } + + private void initialize() { + tag = "964"; + label = "In Aleph benötigte Informationen (Wickelfeld)"; + mqTag = "InAlephbenötigteInformationenWickelfeld"; + cardinality = Cardinality.Nonrepeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=724304028"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "A", "A", "R", + "F", "F", "R", + "V", "V", "R" + ); + + } +} From 7176ef9ec5e772520cb6e617142bd4647b534f27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Mon, 19 Aug 2024 10:59:03 +0200 Subject: [PATCH 08/54] Add hbz as catalogue --- src/main/java/de/gwdg/metadataqa/marc/Utils.java | 1 + .../java/de/gwdg/metadataqa/marc/definition/MarcVersion.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/Utils.java b/src/main/java/de/gwdg/metadataqa/marc/Utils.java index 4ffdec3c4..8049c1739 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/Utils.java +++ b/src/main/java/de/gwdg/metadataqa/marc/Utils.java @@ -77,6 +77,7 @@ public static MarcVersion package2version(String packageName) { case "dnbtags": version = MarcVersion.DNB; break; case "fennicatags": version = MarcVersion.FENNICA; break; case "genttags": version = MarcVersion.GENT; break; + case "hbztags": version = MarcVersion.HBZ; break; case "oclctags": version = MarcVersion.OCLC; break; case "sztetags": version = MarcVersion.SZTE; break; case "nkcrtags": version = MarcVersion.NKCR; break; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/MarcVersion.java b/src/main/java/de/gwdg/metadataqa/marc/definition/MarcVersion.java index 8f9f921ce..507e832ce 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/MarcVersion.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/MarcVersion.java @@ -15,7 +15,8 @@ public enum MarcVersion { B3KAT( "B3KAT", "B3Kat union catalogue of Bibliotheksverbundes Bayern (BVB) and Kooperativen Bibliotheksverbundes Berlin-Brandenburg (KOBV)"), KBR( "KBR", "KBR"), ZB( "ZB", "Zentralbibliothek Zürich"), - OGYK( "OGYK", "Országygyűlési Könyvtár, Budapest"); + OGYK( "OGYK", "Országygyűlési Könyvtár, Budapest"), + HBZ( "HBZ", "Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen (hbz)"); String code; String label; From 704370ad52ebc7d4665dc43c2371099dac326b01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Mon, 19 Aug 2024 11:36:52 +0200 Subject: [PATCH 09/54] Adjust package info for hbz Adjustment suggested by @maipet --- .../marc/definition/tags/hbztags/package-info.java | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/package-info.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/package-info.java index b584195f1..58d6c6743 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/package-info.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/package-info.java @@ -3,14 +3,9 @@ * * The source of the classes is this document: * - * Feldbeschreibung der Titeldaten der Deutschen Nationalbibliothek und der - * Zeitschriftendatenbank im Format MARC 21 - * - * Version 2.4 - * Stand: 16. Oktober 2017 - * - * Available at http://www.dnb.de/EN/Standardisierung/Formate/MARC21/marc21_node.html + * https://service-wiki.hbz-nrw.de/display/VDBE/Feldinformationen+NZ+Alma + * and https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 */ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; +package de.gwdg.metadataqa.marc.definition.tags.hbztags; //rest of the file is empty \ No newline at end of file From 72f9f0c359145fd490a2b3412eae15d9fa24c85e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Mon, 19 Aug 2024 11:43:19 +0200 Subject: [PATCH 10/54] Fix syntax error --- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java index 127e835b3..c9604a7b4 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java @@ -80,7 +80,7 @@ private void initialize() { "oas", "ostasiatisch", "chin", "chinesisch (Orig.-schrift)", "jap", "japanisch (Orig.-schrift)", - "korea", "koreanisch (Orig.-schrift)", + "korea", "koreanisch (Orig.-schrift)" ); getSubfield("i").setCodes( From 517869aecd95913a937935427edb4c305c4bef24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Mon, 19 Aug 2024 11:53:59 +0200 Subject: [PATCH 11/54] Reuse gnd elements and delete duplicates --- .../marc/definition/tags/hbztags/Tag249.java | 45 --------- .../marc/definition/tags/hbztags/Tag259.java | 43 -------- .../marc/definition/tags/hbztags/Tag591.java | 43 -------- .../marc/definition/tags/hbztags/Tag689.java | 80 --------------- .../marc/definition/tags/hbztags/Tag889.java | 42 -------- .../marc/definition/tags/hbztags/Tag924.java | 97 ------------------- .../marc/definition/tags/hbztags/Tag925.java | 62 ------------ .../marc/definition/tags/hbztags/Tag926.java | 62 ------------ .../marc/definition/tags/hbztags/Tag930.java | 49 ---------- .../marc/definition/tags/hbztags/Tag931.java | 43 -------- .../marc/definition/tags/hbztags/Tag932.java | 42 -------- .../definition/tags/hbztags/package-info.java | 3 + 12 files changed, 3 insertions(+), 608 deletions(-) delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java deleted file mode 100644 index 5ce8c3ea3..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java +++ /dev/null @@ -1,45 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Weitere Titel etc. bei Zusammenstellungen - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag249 extends DataFieldDefinition { - - private static Tag249 uniqueInstance; - - private Tag249() { - initialize(); - postCreation(); - } - - public static Tag249 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag249(); - return uniqueInstance; - } - - private void initialize() { - tag = "249"; - label = "Weitere Titel etc. bei Zusammenstellungen"; - mqTag = "WeitereTitel"; - cardinality = Cardinality.Nonrepeatable; - descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator(); - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Weiterer Titel bei Zusammenstellungen", "R", - "b", "Titelzusätze zur gesamten Zusammenstellung", "NR", - "v", "Verantwortlichkeitsangabe zum weiteren Titel", "R" - ); - - getSubfield("a") - .setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java deleted file mode 100644 index 5a72118a3..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java +++ /dev/null @@ -1,43 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Ausgabebezeichnung in normierter Form - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag259 extends DataFieldDefinition { - - private static Tag259 uniqueInstance; - - private Tag259() { - initialize(); - postCreation(); - } - - public static Tag259 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag259(); - return uniqueInstance; - } - - private void initialize() { - tag = "259"; - label = "Ausgabebezeichnung in normierter Form"; - mqTag = "WeitereTitel"; - cardinality = Cardinality.Nonrepeatable; - // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator(); - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Ausgabebezeichnung in normierter Form", "R" - ); - - getSubfield("a") - .setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java deleted file mode 100644 index 0c7b8c91b..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java +++ /dev/null @@ -1,43 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Bemerkungen zur Titelaufnahme - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag591 extends DataFieldDefinition { - - private static Tag591 uniqueInstance; - - private Tag591() { - initialize(); - postCreation(); - } - - public static Tag591 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag591(); - return uniqueInstance; - } - - private void initialize() { - tag = "591"; - label = "Bemerkungen zur Titelaufnahme"; - mqTag = "BemerkungenZurTitelaufnahme"; - cardinality = Cardinality.Nonrepeatable; - // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator(); - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Fussnote", "R" - ); - - getSubfield("a") - .setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java deleted file mode 100644 index 8107286f7..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java +++ /dev/null @@ -1,80 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; -import de.gwdg.metadataqa.marc.definition.structure.SubfieldDefinition; - -/** - * RSWK-Kette - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag689 extends DataFieldDefinition { - - private static Tag689 uniqueInstance; - - private Tag689() { - initialize(); - postCreation(); - } - - public static Tag689 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag689(); - return uniqueInstance; - } - - private void initialize() { - tag = "689"; - label = "RSWK-Kette"; - mqTag = "RSWKKette"; - cardinality = Cardinality.Repeatable; - // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator("Nummer der RSWK-Kette") - .setCodes( - "0-9", "Nummer der RSWK-Kette" - ) - .setMqTag("nummerDerRSWKKette"); - ind1.getCode("0-9").setRange(true); - - ind2 = new Indicator("Nummer des Kettengliedes") - .setCodes( - " ", "Abschluss einer RSWK-Kettenfolge, Feld enthält dann zwei $5", - "0-9", "Nummer des Kettengliedes" - ) - .setMqTag("nummerDesKettengliedes"); - ind2.getCode("0-9").setRange(true); - - setSubfieldsWithCardinality( - "A", "Indikator des Kettengliedes", "R", - "B", "Permutationsmuster", "R", - "C", "Bemerkungen", "R", - "D", "Repräsentation der MARC-Feldnummer", "R", - "0", "Authority record control number(IDN des Normdatensatzes)", "R", - "5", "Herkunft", "R" - ); - for (char c = 'a'; c <= 'z'; c++) - subfields.add(new SubfieldDefinition(String.valueOf(c), "Same as associated field", "R") - .setParent(this)); - indexSubfields(); - - getSubfield("A").setCodes( - "f", "Formschlagwort", - "g", "geographischer Unterbegriff", - "z", "Zeitschlagwort" - ); - getSubfield("D").setCodes( - "b", "Körperschaft", - "f", "Kongress", - "g", "Geografikum", - "n", "Person (nicht individualisiert)", - "p", "Person (individualisiert)", - "s", "Sachbegriff", - "u", "Werk (nur bei Werken ohne geistige Schöpfer)" - ); - - getSubfield("A") - .setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java deleted file mode 100644 index 8f4b7b1dd..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java +++ /dev/null @@ -1,42 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Angaben zum umgelenkten Datensatz - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag889 extends DataFieldDefinition { - - private static Tag889 uniqueInstance; - - private Tag889() { - initialize(); - postCreation(); - } - - public static Tag889 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag889(); - return uniqueInstance; - } - - private void initialize() { - tag = "889"; - label = "Angaben zum umgelenkten Datensatz"; - mqTag = "AngabenZumUmgelenktenDatensatz"; - cardinality = Cardinality.Repeatable; - // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator(); - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "w", "Replacement bibliographic record control number (Kontrollnummer des Zielsatzes)", "R" - ); - - getSubfield("w").setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java deleted file mode 100644 index 14687d5f2..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java +++ /dev/null @@ -1,97 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Bestandsinformationen - */ -public class Tag924 extends DataFieldDefinition { - - private static Tag924 uniqueInstance; - - private Tag924() { - initialize(); - postCreation(); - } - - public static Tag924 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag924(); - return uniqueInstance; - } - - private void initialize() { - tag = "924"; - label = "Bestandsinformationen"; - mqTag = "Bestandsinformationen"; - cardinality = Cardinality.Repeatable; - // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator("Art der Ressource") - .setCodes( - "0", "Nicht-elektronisch", - "1", "Elektronisch" - ) - .setMqTag("artDerRessource"); - - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Lokale IDN des Bestandsdatensatzes", "NR", - "b", "ISIL als Kennzeichen der besitzenden Institution", "NR", - "c", "Leihverkehrsregion", "NR", - "d", "Fernleihindikator", "NR", - "e", "(Vertragsrechtliche) Einschränkungen bei der Fernleihe", "R", - "f", "Kommentar zum Fernleihindikator", "R", - "g", "Signatur", "R", - "h", "Sonderstandort / Abteilung", "R", - "i", "Sonderstandort-Signatur", "R", - "j", "Kommentar(e) zur Signatur", "R", - "k", "Elektronische Adresse für eine Computerdatei im Fernzugriff, Uniform Resource Identifier", "R", - "l", "Elektronische Adresse für eine Computerdatei im Fernzugriff, Interne und Allg. Bemerkungen (zum URI)", "R", - "m", "Normierte Bestandsangaben, Bandzählung (Beginn)", "R", - "n", "Normierte Bestandsangaben, Heftzählung (Beginn)", "R", - "o", "Normierte Bestandsangaben, Tageszählung (Beginn)", "R", - "p", "Normierte Bestandsangaben, Monatszählung (Beginn)", "R", - "q", "Normierte Bestandsangaben, Jahr (Beginn)", "R", - "r", "Normierte Bestandsangaben, Bandzählung (Ende)", "R", - "s", "Normierte Bestandsangaben, Heftzählung (Ende)", "R", - "t", "Normierte Bestandsangaben, Tageszählung (Ende)", "R", - "u", "Normierte Bestandsangaben, Monatszählung (Ende)", "R", - "v", "Normierte Bestandsangaben, Jahr (Ende)", "R", - "w", "Normierte Bestandsangaben, Kettung", "R", - "x", "Normierte Bestandsangaben, Kennzeichnung \"laufender Bestand\"", "R", - "y", "Aufbewahrungs- und Verfügbarkeitszeitraum, Moving Wall", "R", - "z", "Zusammenfassende Bestandsangaben", "R", - "9", "Sigel als Kennzeichen der besitzenden Institution", "R" - ); - - getSubfield("c").setCodes( - "ANL", "Nationallizenzen für Deutschland", - "BAW", "Leihverkehrsregion Baden-Württemberg und Saarland", - "BAY", "Leihverkehrsregion Bayern", - "BER", "Leihverkehrsregion Berlin und Brandenburg", - "HAM", "Leihverkehrsregion GBV (Hamburg, Bremen, Schleswig-Holstein und Mecklenburg-Vorpommern)", - "HES", "Leihverkehrsregion Hessen und Teile von Rheinland-Pfalz", - "NIE", "Leihverkehrsregion GBV (Niedersachsen)", - "NRW", "Leihverkehrsregion Nordrhein-Westfalen und Teile von Rheinland-Pfalz", - "SAA", "Leihverkehrsregion GBV (Sachsen-Anhalt)", - "SAX", "Leihverkehrsregion Sachsen", - "THU", "Leihverkehrsregion GBV (Thüringen)", - "WEU", "Bibliotheken im Ausland", - "WWW", "Nur im Internet" - ); - - getSubfield("e").setCodes( - "a", "Fernleihe (nur Ausleihe)", - "e", "Fernleihe (Kopie, elektronischer Versand an Endnutzer möglich)", - "k", "Fernleihe (Nur Kopie)", - "l", "Fernleihe (Kopie und Ausleihe)", - "n", "Keine Fernleihe" - ); - - getSubfield("a").setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java deleted file mode 100644 index a6d54766f..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java +++ /dev/null @@ -1,62 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Weitere DNB-Codierungen - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag925 extends DataFieldDefinition { - - private static Tag925 uniqueInstance; - - private Tag925() { - initialize(); - postCreation(); - } - - public static Tag925 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag925(); - return uniqueInstance; - } - - private void initialize() { - tag = "925"; - label = "Weitere DNB-Codierungen"; - mqTag = "WeitereDNBCodierungen"; - cardinality = Cardinality.Repeatable; - // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator("First") // TODO: ask what it is, it is not set in the document - .setCodes( - "p", "Published on demand (bei Netzpublikationen", - "r", "Reihenzugehörigkeit", - "s", "Zugehörigkeit zu einer Sammlung" - ) - .setMqTag("first"); - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Code je nach Indikatoren", "R" - ); - - getSubfield("a").setCodes( - "pd", "Books on demand", - "ra", "Reihe A", - "rb", "Reihe B", - "rc", "Reihe C", - "rh", "Reihe H", - "ro", "Reihe O", - "rm", "Reihe M", - "rt", "Reihe T", - "rg", "Fremdsprachige Germanica (1992 - 2003)", - "ru", "Übersetzung deutschsprachiger Werke (1992 - 2003)", - "ep", "E-Paper" - ); - - getSubfield("a").setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java deleted file mode 100644 index 0b9914922..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java +++ /dev/null @@ -1,62 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Thema-Klassifikation - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag926 extends DataFieldDefinition { - - private static Tag926 uniqueInstance; - - private Tag926() { - initialize(); - postCreation(); - } - - public static Tag926 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag926(); - return uniqueInstance; - } - - private void initialize() { - tag = "926"; - label = "Thema-Klassifikation"; - mqTag = "ThemaKlassifikation"; - cardinality = Cardinality.Repeatable; - // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator("Level der Thema-Klassifikation") - .setCodes( - "1", "Primär (aus ONIX mainsubject)", - "2", "Sekundär (aus ONIX subject)" - ) - .setMqTag("level"); - - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Thema-Code (Subjects + Qualifier)", "NR", - "o", "ONIX-Code für Thema-Klasse", "NR", - "q", "Thema-Quelle (Sourcename)", "NR", - "v", "Thema-Version", "NR", - "x", "Thema-Text", "NR" - ); - - getSubfield("o").setCodes( - "93", "Thema subject category", - "94", "Thema geographical qualifier", - "95", "Thema language qualifier", - "96", "Thema time period qualifier", - "97", "Thema educational purpose qualifier", - "98", "Thema interest age / special interest qualifier", - "99", "Thema style qualifier" - ); - - getSubfield("a").setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java deleted file mode 100644 index 4e8f9fc03..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java +++ /dev/null @@ -1,49 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Unterreihenangaben in strukturierter Form - ZDB - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag930 extends DataFieldDefinition { - - private static Tag930 uniqueInstance; - - private Tag930() { - initialize(); - postCreation(); - } - - public static Tag930 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag930(); - return uniqueInstance; - } - - private void initialize() { - tag = "930"; - label = "Unterreihenangaben in strukturierter Form - ZDB"; - mqTag = "UnterreihenangabenInStrukturierterFormZDB"; - cardinality = Cardinality.Repeatable; - descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator(); - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Titel der Unterreihe", "NR", - "d", "Zusatz zum Sachtitel/Parallelsachtitel der Unterreihe", "R", - "e", "Reihenbezeichnung und /oder Zählung", "R", - "f", "Parallelsachtitel zur UR(@)", "R", - "h", "Verfasserangabe zur Unterreihe", "NR", - "l", "Reihenbezeichnung und /oder Zählung", "NR", - "n", "Reihenbezeichnung und /oder Zählung", "NR", - "r", "Undifferenzierter Text", "NR" - ); - - getSubfield("a").setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java deleted file mode 100644 index b5c2a9fab..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java +++ /dev/null @@ -1,43 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Gravierende Korrektur - ZDB - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag931 extends DataFieldDefinition { - - private static Tag931 uniqueInstance; - - private Tag931() { - initialize(); - postCreation(); - } - - public static Tag931 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag931(); - return uniqueInstance; - } - - private void initialize() { - tag = "931"; - label = "Gravierende Korrektur - ZDB"; - mqTag = "GravierendeKorrekturZDB"; - cardinality = Cardinality.Repeatable; - descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator(); - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Datum (JJ-MM-TT)", "NR", - "b", "Selektionsschlüssel", "NR" - ); - - getSubfield("a").setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java deleted file mode 100644 index f434f908d..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java +++ /dev/null @@ -1,42 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Online-Contents-Ausschnittskennung - ZDB - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag932 extends DataFieldDefinition { - - private static Tag932 uniqueInstance; - - private Tag932() { - initialize(); - postCreation(); - } - - public static Tag932 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag932(); - return uniqueInstance; - } - - private void initialize() { - tag = "932"; - label = "Online-Contents-Ausschnittskennung - ZDB"; - mqTag = "OnlineContentsAusschnittskennungZDB"; - cardinality = Cardinality.Repeatable; - descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator(); - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Online-Contents-Ausschnittskennung", "R" - ); - - getSubfield("a").setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/package-info.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/package-info.java index 58d6c6743..5c32e919b 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/package-info.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/package-info.java @@ -8,4 +8,7 @@ */ package de.gwdg.metadataqa.marc.definition.tags.hbztags; +import de.gwdg.metadataqa.marc.definition.tags.dnbtags.*; + + //rest of the file is empty \ No newline at end of file From 42280eb097a20ee245de36d2f2c406435823af17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Mon, 19 Aug 2024 12:07:06 +0200 Subject: [PATCH 12/54] Delete unneeded imports --- .../gwdg/metadataqa/marc/definition/tags/hbztags/TagMBD.java | 3 --- .../gwdg/metadataqa/marc/definition/tags/hbztags/TagPOC.java | 3 --- .../gwdg/metadataqa/marc/definition/tags/hbztags/TagPOE.java | 3 --- .../gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java | 2 -- 4 files changed, 11 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagMBD.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagMBD.java index 39decb58d..5d75fd296 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagMBD.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagMBD.java @@ -1,8 +1,5 @@ package de.gwdg.metadataqa.marc.definition.tags.hbztags; -import org.apache.spark.sql.catalyst.expressions.Month; -import org.sparkproject.jetty.server.RequestLog.Collection; - import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; import de.gwdg.metadataqa.marc.definition.structure.Indicator; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOC.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOC.java index 291ef44ce..cd0775c47 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOC.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOC.java @@ -1,8 +1,5 @@ package de.gwdg.metadataqa.marc.definition.tags.hbztags; -import org.apache.spark.sql.catalyst.expressions.Month; -import org.sparkproject.jetty.server.RequestLog.Collection; - import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; import de.gwdg.metadataqa.marc.definition.structure.Indicator; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOE.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOE.java index 01b12e378..e872514c0 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOE.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOE.java @@ -1,8 +1,5 @@ package de.gwdg.metadataqa.marc.definition.tags.hbztags; -import org.apache.spark.sql.catalyst.expressions.Month; -import org.sparkproject.jetty.server.RequestLog.Collection; - import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; import de.gwdg.metadataqa.marc.definition.structure.Indicator; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java index 511ec2c2e..ee6da5206 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java @@ -1,7 +1,5 @@ package de.gwdg.metadataqa.marc.definition.tags.hbztags; -import org.sparkproject.jetty.server.RequestLog.Collection; - import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; import de.gwdg.metadataqa.marc.definition.structure.Indicator; From 8edc7ac45ec1546cfc5bbbaa3ed7cbdd25d3b4e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Mon, 19 Aug 2024 12:08:14 +0200 Subject: [PATCH 13/54] Update test to inlude hbztags --- .../de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java index 35c5510f2..39435a122 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java @@ -28,7 +28,7 @@ public void testListTag() { List> tags = MarcTagLister.listTags(); assertNotNull(tags); assertNotEquals(0, tags.size()); - assertEquals(457, tags.size()); + assertEquals(493, tags.size()); assertEquals("Tag010", tags.get(0).getSimpleName()); Map versionCounter = new HashMap<>(); Map versionCounter2 = new HashMap<>(); @@ -72,7 +72,7 @@ public void testListTag() { List testedVersions = List.of( MarcVersion.MARC21, MarcVersion.DNB, MarcVersion.FENNICA, MarcVersion.GENT, MarcVersion.NKCR, MarcVersion.OCLC, MarcVersion.SZTE, MarcVersion.KBR, MarcVersion.ZB, MarcVersion.BL, MarcVersion.MARC21NO, MarcVersion.UVA, - MarcVersion.B3KAT, MarcVersion.OGYK, + MarcVersion.B3KAT, MarcVersion.OGYK, MarcVersion.HBZ, MarcVersion.UNIMARC // special case ); for (MarcVersion version : MarcVersion.values()) { @@ -117,6 +117,9 @@ public void testListTag() { assertEquals( 12, (int) versionCounter2.get(MarcVersion.OGYK)); assertEquals( 12, (int) versionCounter.get("ogyktags")); + assertEquals( 36, (int) versionCounter2.get(MarcVersion.HBZ)); + assertEquals( 36, (int) versionCounter.get("hbztags")); + assertEquals(229, (int) versionCounter2.get(MarcVersion.MARC21)); assertEquals( 2, (int) versionCounter.get("holdings")); assertEquals( 49, (int) versionCounter.get("tags01x")); From c79937a68c89e0e3a42533ae906caccb89c9ed7f Mon Sep 17 00:00:00 2001 From: Phu Tu Date: Tue, 20 Aug 2024 11:55:09 +0200 Subject: [PATCH 14/54] Add hbz tag category --- .../de/gwdg/metadataqa/marc/definition/tags/TagCategory.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/TagCategory.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/TagCategory.java index 5b5910c49..2cddec283 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/TagCategory.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/TagCategory.java @@ -31,6 +31,7 @@ public enum TagCategory { KBR(23, "kbrtags", "KBR", "Locally defined tags of the Royal Library of Belgium", false), ZB(24, "zbtags", "ZB", "Locally defined tags of the Zentralbibliothek Zürich", false), OGYK(25, "ogyktags", "OGYK", "Locally defined tags of the Országygyűlési Könyvtár, Budapest", false), + HBZ(26, "hbztags", "HBZ", "Locally defined tags of North Rhine-Westphalian Library Service Centre, Cologne", false), // PICA PICA_0(50, "pica0", "0...", "PICA+ bibliographic description", false), From 06d732b5cc0935ad7bfa5847e7f0c086bdfe6fe6 Mon Sep 17 00:00:00 2001 From: Phu Tu Date: Tue, 20 Aug 2024 15:54:37 +0200 Subject: [PATCH 15/54] Correct number of local (sub)fields reported in build log --- .../metadataqa/marc/utils/DataElementsStaticticsTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java index 76013d244..5365613ac 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java @@ -15,9 +15,9 @@ public void testStatistics() { assertEquals( 229, statistics.get(DataElementType.coreFields)); assertEquals( 184, statistics.get(DataElementType.coreIndicators)); assertEquals(2667, statistics.get(DataElementType.coreSubfields)); - assertEquals( 228, statistics.get(DataElementType.localFields)); + assertEquals( 262, statistics.get(DataElementType.localFields)); assertEquals( 30, statistics.get(DataElementType.localIndicators)); - assertEquals(1804, statistics.get(DataElementType.localSubfields)); - assertEquals(5360, statistics.total()); + assertEquals(2005, statistics.get(DataElementType.localSubfields)); + assertEquals(5595, statistics.total()); } } \ No newline at end of file From a7eea667dd060a7e070278831ca61cd31d843ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Wed, 21 Aug 2024 12:51:26 +0200 Subject: [PATCH 16/54] Apply suggested changes by @pkiraly See: https://github.com/pkiraly/qa-catalogue/issues/503#issuecomment-2301686469 Co-authored-by: Peter Kiraly --- .../metadataqa/marc/definition/tags/hbztags/TagHOL.java | 2 +- .../metadataqa/marc/definition/tags/hbztags/TagMNG.java | 2 +- .../de/gwdg/metadataqa/marc/analysis/bl/UseCaseTest.java | 2 +- .../metadataqa/marc/utils/DataElementsStaticticsTest.java | 6 +++--- .../de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java | 1 + 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java index 948ce896c..6f6322dab 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java @@ -36,7 +36,7 @@ private void initialize() { setSubfieldsWithCardinality( "a", "Created by subfield", "R", "b", "Create date subfield", "R", - "c", "Updated by subfield", + "c", "Updated by subfield", "R", "d", "Update date subfield", "R", "e", "Library name subfield", "R", "f", "Location name subfield", "R", diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagMNG.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagMNG.java index 4a4a2a4f9..c0631475c 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagMNG.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagMNG.java @@ -36,7 +36,7 @@ private void initialize() { setSubfieldsWithCardinality( "a", "Created by subfield", "R", "b", "Create date subfield", "R", - "c", "Updated by subfield", + "c", "Updated by subfield", "R", "d", "Update date subfield", "R", "e", "Suppress from publishing subfield", "R", "f", "Originating system subfield", "R", diff --git a/src/test/java/de/gwdg/metadataqa/marc/analysis/bl/UseCaseTest.java b/src/test/java/de/gwdg/metadataqa/marc/analysis/bl/UseCaseTest.java index fab22303c..8141fe99a 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/analysis/bl/UseCaseTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/analysis/bl/UseCaseTest.java @@ -31,7 +31,7 @@ public void testPatternMatchingWithSubfield() { List definitions = UseCase.E02.getDataElelemntsNormalized(); assertEquals(11, definitions.size()); assertEquals( - List.of("110$e", "111$e", "100$e", "700$e", "710$e", "711$e", "720$e", "751$e", "752$e", "775$e", "788$e"), + List.of("100$e", "110$e", "111$e", "700$e", "710$e", "711$e", "720$e", "751$e", "752$e", "775$e", "788$e"), definitions); } diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java index 5365613ac..98e1f9848 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java @@ -15,9 +15,9 @@ public void testStatistics() { assertEquals( 229, statistics.get(DataElementType.coreFields)); assertEquals( 184, statistics.get(DataElementType.coreIndicators)); assertEquals(2667, statistics.get(DataElementType.coreSubfields)); - assertEquals( 262, statistics.get(DataElementType.localFields)); + assertEquals( 264, statistics.get(DataElementType.localFields)); assertEquals( 30, statistics.get(DataElementType.localIndicators)); - assertEquals(2005, statistics.get(DataElementType.localSubfields)); - assertEquals(5595, statistics.total()); + assertEquals(2024, statistics.get(DataElementType.localSubfields)); + assertEquals(5616, statistics.total()); } } \ No newline at end of file diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java index 39435a122..868452e36 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java @@ -37,6 +37,7 @@ public void testListTag() { MarcVersion version = Utils.getVersion(tag); DataFieldDefinition definition = TagDefinitionLoader.load( tag.getSimpleName().replace("Tag", ""), version); + assertNotNull("The definition for tag " + tag.getCanonicalName() + " should not be null", definition); assertEquals(tag.getSimpleName() + " should have the same tag", "Tag" + definition.getTag(), tag.getSimpleName()); assertEquals(version, definition.getMarcVersion()); From 75c2997352022143622c91ef45ace7ef2e531aeb Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Mon, 26 Aug 2024 17:20:45 +0200 Subject: [PATCH 17/54] Add GKS --- .../marc/definition/tags/hbztags/TagGKS.java | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKS.java diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKS.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKS.java new file mode 100644 index 000000000..acd5722bb --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKS.java @@ -0,0 +1,54 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Meeting Name (GKS) from ALMA Publishing GND Authority Enrichment + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on PICA+ Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664310/411.pdf + */ +public class TagGKS extends DataFieldDefinition { + + private static TagGKS uniqueInstance; + + private TagGKS() { + initialize(); + postCreation(); + } + + public static TagGKS getInstance() { + if (uniqueInstance == null) + uniqueInstance = new TagGKS(); + return uniqueInstance; + } + + private void initialize() { + tag = "GKS"; + label = "Meeting Name (GKS) - GND 411"; + mqTag = "GNDMeetingName"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "4", "GND-Code für Beziehungen", "NR", + "5", "Institution (ISIL), die Feld in besonderer Art verwendet", "R", + "a", "Hauptkonferenz", "NR", + "b", "Untergeordnete Einheit", "R", + "c", "Ort", "R", + "d", "Datum", "NR", + "g", "Zusatz", "R", + "L", "Sprachencode", "NR", + "v", "Bemerkungen, Regelwerk", "R", + "x", "Allgemeine Unterteilung (temporär durch Migration)", "R", + "T", "Feldzuordnung bei nicht-lateinischen Schriftzeichen", "NR", + "U", "Schriftcode bei nicht-lateinischen Schriftzeichen", "NR", + "A", "Vocabulary subfield", "R", + "B", "Authority ID subfield", "R", + "C", "Authority tag subfield","R" + ); + } +} From c4f9a8319956a9f6b463cf7d9543a92fef013980 Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Mon, 26 Aug 2024 17:21:17 +0200 Subject: [PATCH 18/54] Revert "Reuse gnd elements and delete duplicates" This reverts commit 517869aecd95913a937935427edb4c305c4bef24. --- .../marc/definition/tags/hbztags/Tag249.java | 45 +++++++++ .../marc/definition/tags/hbztags/Tag259.java | 43 ++++++++ .../marc/definition/tags/hbztags/Tag591.java | 43 ++++++++ .../marc/definition/tags/hbztags/Tag689.java | 80 +++++++++++++++ .../marc/definition/tags/hbztags/Tag889.java | 42 ++++++++ .../marc/definition/tags/hbztags/Tag924.java | 97 +++++++++++++++++++ .../marc/definition/tags/hbztags/Tag925.java | 62 ++++++++++++ .../marc/definition/tags/hbztags/Tag926.java | 62 ++++++++++++ .../marc/definition/tags/hbztags/Tag930.java | 49 ++++++++++ .../marc/definition/tags/hbztags/Tag931.java | 43 ++++++++ .../marc/definition/tags/hbztags/Tag932.java | 42 ++++++++ .../definition/tags/hbztags/package-info.java | 3 - 12 files changed, 608 insertions(+), 3 deletions(-) create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java new file mode 100644 index 000000000..5ce8c3ea3 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java @@ -0,0 +1,45 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Weitere Titel etc. bei Zusammenstellungen + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag249 extends DataFieldDefinition { + + private static Tag249 uniqueInstance; + + private Tag249() { + initialize(); + postCreation(); + } + + public static Tag249 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag249(); + return uniqueInstance; + } + + private void initialize() { + tag = "249"; + label = "Weitere Titel etc. bei Zusammenstellungen"; + mqTag = "WeitereTitel"; + cardinality = Cardinality.Nonrepeatable; + descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Weiterer Titel bei Zusammenstellungen", "R", + "b", "Titelzusätze zur gesamten Zusammenstellung", "NR", + "v", "Verantwortlichkeitsangabe zum weiteren Titel", "R" + ); + + getSubfield("a") + .setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java new file mode 100644 index 000000000..5a72118a3 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java @@ -0,0 +1,43 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Ausgabebezeichnung in normierter Form + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag259 extends DataFieldDefinition { + + private static Tag259 uniqueInstance; + + private Tag259() { + initialize(); + postCreation(); + } + + public static Tag259 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag259(); + return uniqueInstance; + } + + private void initialize() { + tag = "259"; + label = "Ausgabebezeichnung in normierter Form"; + mqTag = "WeitereTitel"; + cardinality = Cardinality.Nonrepeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Ausgabebezeichnung in normierter Form", "R" + ); + + getSubfield("a") + .setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java new file mode 100644 index 000000000..0c7b8c91b --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java @@ -0,0 +1,43 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Bemerkungen zur Titelaufnahme + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag591 extends DataFieldDefinition { + + private static Tag591 uniqueInstance; + + private Tag591() { + initialize(); + postCreation(); + } + + public static Tag591 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag591(); + return uniqueInstance; + } + + private void initialize() { + tag = "591"; + label = "Bemerkungen zur Titelaufnahme"; + mqTag = "BemerkungenZurTitelaufnahme"; + cardinality = Cardinality.Nonrepeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Fussnote", "R" + ); + + getSubfield("a") + .setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java new file mode 100644 index 000000000..8107286f7 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java @@ -0,0 +1,80 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; +import de.gwdg.metadataqa.marc.definition.structure.SubfieldDefinition; + +/** + * RSWK-Kette + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag689 extends DataFieldDefinition { + + private static Tag689 uniqueInstance; + + private Tag689() { + initialize(); + postCreation(); + } + + public static Tag689 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag689(); + return uniqueInstance; + } + + private void initialize() { + tag = "689"; + label = "RSWK-Kette"; + mqTag = "RSWKKette"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator("Nummer der RSWK-Kette") + .setCodes( + "0-9", "Nummer der RSWK-Kette" + ) + .setMqTag("nummerDerRSWKKette"); + ind1.getCode("0-9").setRange(true); + + ind2 = new Indicator("Nummer des Kettengliedes") + .setCodes( + " ", "Abschluss einer RSWK-Kettenfolge, Feld enthält dann zwei $5", + "0-9", "Nummer des Kettengliedes" + ) + .setMqTag("nummerDesKettengliedes"); + ind2.getCode("0-9").setRange(true); + + setSubfieldsWithCardinality( + "A", "Indikator des Kettengliedes", "R", + "B", "Permutationsmuster", "R", + "C", "Bemerkungen", "R", + "D", "Repräsentation der MARC-Feldnummer", "R", + "0", "Authority record control number(IDN des Normdatensatzes)", "R", + "5", "Herkunft", "R" + ); + for (char c = 'a'; c <= 'z'; c++) + subfields.add(new SubfieldDefinition(String.valueOf(c), "Same as associated field", "R") + .setParent(this)); + indexSubfields(); + + getSubfield("A").setCodes( + "f", "Formschlagwort", + "g", "geographischer Unterbegriff", + "z", "Zeitschlagwort" + ); + getSubfield("D").setCodes( + "b", "Körperschaft", + "f", "Kongress", + "g", "Geografikum", + "n", "Person (nicht individualisiert)", + "p", "Person (individualisiert)", + "s", "Sachbegriff", + "u", "Werk (nur bei Werken ohne geistige Schöpfer)" + ); + + getSubfield("A") + .setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java new file mode 100644 index 000000000..8f4b7b1dd --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java @@ -0,0 +1,42 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Angaben zum umgelenkten Datensatz + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag889 extends DataFieldDefinition { + + private static Tag889 uniqueInstance; + + private Tag889() { + initialize(); + postCreation(); + } + + public static Tag889 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag889(); + return uniqueInstance; + } + + private void initialize() { + tag = "889"; + label = "Angaben zum umgelenkten Datensatz"; + mqTag = "AngabenZumUmgelenktenDatensatz"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "w", "Replacement bibliographic record control number (Kontrollnummer des Zielsatzes)", "R" + ); + + getSubfield("w").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java new file mode 100644 index 000000000..14687d5f2 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java @@ -0,0 +1,97 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Bestandsinformationen + */ +public class Tag924 extends DataFieldDefinition { + + private static Tag924 uniqueInstance; + + private Tag924() { + initialize(); + postCreation(); + } + + public static Tag924 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag924(); + return uniqueInstance; + } + + private void initialize() { + tag = "924"; + label = "Bestandsinformationen"; + mqTag = "Bestandsinformationen"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator("Art der Ressource") + .setCodes( + "0", "Nicht-elektronisch", + "1", "Elektronisch" + ) + .setMqTag("artDerRessource"); + + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Lokale IDN des Bestandsdatensatzes", "NR", + "b", "ISIL als Kennzeichen der besitzenden Institution", "NR", + "c", "Leihverkehrsregion", "NR", + "d", "Fernleihindikator", "NR", + "e", "(Vertragsrechtliche) Einschränkungen bei der Fernleihe", "R", + "f", "Kommentar zum Fernleihindikator", "R", + "g", "Signatur", "R", + "h", "Sonderstandort / Abteilung", "R", + "i", "Sonderstandort-Signatur", "R", + "j", "Kommentar(e) zur Signatur", "R", + "k", "Elektronische Adresse für eine Computerdatei im Fernzugriff, Uniform Resource Identifier", "R", + "l", "Elektronische Adresse für eine Computerdatei im Fernzugriff, Interne und Allg. Bemerkungen (zum URI)", "R", + "m", "Normierte Bestandsangaben, Bandzählung (Beginn)", "R", + "n", "Normierte Bestandsangaben, Heftzählung (Beginn)", "R", + "o", "Normierte Bestandsangaben, Tageszählung (Beginn)", "R", + "p", "Normierte Bestandsangaben, Monatszählung (Beginn)", "R", + "q", "Normierte Bestandsangaben, Jahr (Beginn)", "R", + "r", "Normierte Bestandsangaben, Bandzählung (Ende)", "R", + "s", "Normierte Bestandsangaben, Heftzählung (Ende)", "R", + "t", "Normierte Bestandsangaben, Tageszählung (Ende)", "R", + "u", "Normierte Bestandsangaben, Monatszählung (Ende)", "R", + "v", "Normierte Bestandsangaben, Jahr (Ende)", "R", + "w", "Normierte Bestandsangaben, Kettung", "R", + "x", "Normierte Bestandsangaben, Kennzeichnung \"laufender Bestand\"", "R", + "y", "Aufbewahrungs- und Verfügbarkeitszeitraum, Moving Wall", "R", + "z", "Zusammenfassende Bestandsangaben", "R", + "9", "Sigel als Kennzeichen der besitzenden Institution", "R" + ); + + getSubfield("c").setCodes( + "ANL", "Nationallizenzen für Deutschland", + "BAW", "Leihverkehrsregion Baden-Württemberg und Saarland", + "BAY", "Leihverkehrsregion Bayern", + "BER", "Leihverkehrsregion Berlin und Brandenburg", + "HAM", "Leihverkehrsregion GBV (Hamburg, Bremen, Schleswig-Holstein und Mecklenburg-Vorpommern)", + "HES", "Leihverkehrsregion Hessen und Teile von Rheinland-Pfalz", + "NIE", "Leihverkehrsregion GBV (Niedersachsen)", + "NRW", "Leihverkehrsregion Nordrhein-Westfalen und Teile von Rheinland-Pfalz", + "SAA", "Leihverkehrsregion GBV (Sachsen-Anhalt)", + "SAX", "Leihverkehrsregion Sachsen", + "THU", "Leihverkehrsregion GBV (Thüringen)", + "WEU", "Bibliotheken im Ausland", + "WWW", "Nur im Internet" + ); + + getSubfield("e").setCodes( + "a", "Fernleihe (nur Ausleihe)", + "e", "Fernleihe (Kopie, elektronischer Versand an Endnutzer möglich)", + "k", "Fernleihe (Nur Kopie)", + "l", "Fernleihe (Kopie und Ausleihe)", + "n", "Keine Fernleihe" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java new file mode 100644 index 000000000..a6d54766f --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java @@ -0,0 +1,62 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Weitere DNB-Codierungen + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag925 extends DataFieldDefinition { + + private static Tag925 uniqueInstance; + + private Tag925() { + initialize(); + postCreation(); + } + + public static Tag925 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag925(); + return uniqueInstance; + } + + private void initialize() { + tag = "925"; + label = "Weitere DNB-Codierungen"; + mqTag = "WeitereDNBCodierungen"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator("First") // TODO: ask what it is, it is not set in the document + .setCodes( + "p", "Published on demand (bei Netzpublikationen", + "r", "Reihenzugehörigkeit", + "s", "Zugehörigkeit zu einer Sammlung" + ) + .setMqTag("first"); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Code je nach Indikatoren", "R" + ); + + getSubfield("a").setCodes( + "pd", "Books on demand", + "ra", "Reihe A", + "rb", "Reihe B", + "rc", "Reihe C", + "rh", "Reihe H", + "ro", "Reihe O", + "rm", "Reihe M", + "rt", "Reihe T", + "rg", "Fremdsprachige Germanica (1992 - 2003)", + "ru", "Übersetzung deutschsprachiger Werke (1992 - 2003)", + "ep", "E-Paper" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java new file mode 100644 index 000000000..0b9914922 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java @@ -0,0 +1,62 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Thema-Klassifikation + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag926 extends DataFieldDefinition { + + private static Tag926 uniqueInstance; + + private Tag926() { + initialize(); + postCreation(); + } + + public static Tag926 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag926(); + return uniqueInstance; + } + + private void initialize() { + tag = "926"; + label = "Thema-Klassifikation"; + mqTag = "ThemaKlassifikation"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator("Level der Thema-Klassifikation") + .setCodes( + "1", "Primär (aus ONIX mainsubject)", + "2", "Sekundär (aus ONIX subject)" + ) + .setMqTag("level"); + + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Thema-Code (Subjects + Qualifier)", "NR", + "o", "ONIX-Code für Thema-Klasse", "NR", + "q", "Thema-Quelle (Sourcename)", "NR", + "v", "Thema-Version", "NR", + "x", "Thema-Text", "NR" + ); + + getSubfield("o").setCodes( + "93", "Thema subject category", + "94", "Thema geographical qualifier", + "95", "Thema language qualifier", + "96", "Thema time period qualifier", + "97", "Thema educational purpose qualifier", + "98", "Thema interest age / special interest qualifier", + "99", "Thema style qualifier" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java new file mode 100644 index 000000000..4e8f9fc03 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java @@ -0,0 +1,49 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Unterreihenangaben in strukturierter Form - ZDB + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag930 extends DataFieldDefinition { + + private static Tag930 uniqueInstance; + + private Tag930() { + initialize(); + postCreation(); + } + + public static Tag930 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag930(); + return uniqueInstance; + } + + private void initialize() { + tag = "930"; + label = "Unterreihenangaben in strukturierter Form - ZDB"; + mqTag = "UnterreihenangabenInStrukturierterFormZDB"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Titel der Unterreihe", "NR", + "d", "Zusatz zum Sachtitel/Parallelsachtitel der Unterreihe", "R", + "e", "Reihenbezeichnung und /oder Zählung", "R", + "f", "Parallelsachtitel zur UR(@)", "R", + "h", "Verfasserangabe zur Unterreihe", "NR", + "l", "Reihenbezeichnung und /oder Zählung", "NR", + "n", "Reihenbezeichnung und /oder Zählung", "NR", + "r", "Undifferenzierter Text", "NR" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java new file mode 100644 index 000000000..b5c2a9fab --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java @@ -0,0 +1,43 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Gravierende Korrektur - ZDB + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag931 extends DataFieldDefinition { + + private static Tag931 uniqueInstance; + + private Tag931() { + initialize(); + postCreation(); + } + + public static Tag931 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag931(); + return uniqueInstance; + } + + private void initialize() { + tag = "931"; + label = "Gravierende Korrektur - ZDB"; + mqTag = "GravierendeKorrekturZDB"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Datum (JJ-MM-TT)", "NR", + "b", "Selektionsschlüssel", "NR" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java new file mode 100644 index 000000000..f434f908d --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java @@ -0,0 +1,42 @@ +package de.gwdg.metadataqa.marc.definition.tags.dnbtags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Online-Contents-Ausschnittskennung - ZDB + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag932 extends DataFieldDefinition { + + private static Tag932 uniqueInstance; + + private Tag932() { + initialize(); + postCreation(); + } + + public static Tag932 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag932(); + return uniqueInstance; + } + + private void initialize() { + tag = "932"; + label = "Online-Contents-Ausschnittskennung - ZDB"; + mqTag = "OnlineContentsAusschnittskennungZDB"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Online-Contents-Ausschnittskennung", "R" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/package-info.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/package-info.java index 5c32e919b..58d6c6743 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/package-info.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/package-info.java @@ -8,7 +8,4 @@ */ package de.gwdg.metadataqa.marc.definition.tags.hbztags; -import de.gwdg.metadataqa.marc.definition.tags.dnbtags.*; - - //rest of the file is empty \ No newline at end of file From 250bda7379dfdbda1787beba6d36050446c55b5a Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Mon, 26 Aug 2024 17:23:33 +0200 Subject: [PATCH 19/54] Adjust package definition --- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java index 5ce8c3ea3..b7615d529 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java @@ -1,4 +1,4 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; +package de.gwdg.metadataqa.marc.definition.tags.hbztags; import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java index 5a72118a3..aaffe3980 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java @@ -1,4 +1,4 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; +package de.gwdg.metadataqa.marc.definition.tags.hbztags; import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java index 0c7b8c91b..084570991 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java @@ -1,4 +1,4 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; +package de.gwdg.metadataqa.marc.definition.tags.hbztags; import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java index 8107286f7..7868f9cf1 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java @@ -1,4 +1,4 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; +package de.gwdg.metadataqa.marc.definition.tags.hbztags; import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java index 8f4b7b1dd..9fa1f64dd 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java @@ -1,4 +1,4 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; +package de.gwdg.metadataqa.marc.definition.tags.hbztags; import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java index 14687d5f2..0cbf7dfa3 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java @@ -1,4 +1,4 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; +package de.gwdg.metadataqa.marc.definition.tags.hbztags; import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java index a6d54766f..64e648096 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java @@ -1,4 +1,4 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; +package de.gwdg.metadataqa.marc.definition.tags.hbztags; import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java index 0b9914922..ebe731088 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java @@ -1,4 +1,4 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; +package de.gwdg.metadataqa.marc.definition.tags.hbztags; import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java index 4e8f9fc03..5730c429a 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java @@ -1,4 +1,4 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; +package de.gwdg.metadataqa.marc.definition.tags.hbztags; import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java index b5c2a9fab..3181afe37 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java @@ -1,4 +1,4 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; +package de.gwdg.metadataqa.marc.definition.tags.hbztags; import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java index f434f908d..6d00baa14 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java @@ -1,4 +1,4 @@ -package de.gwdg.metadataqa.marc.definition.tags.dnbtags; +package de.gwdg.metadataqa.marc.definition.tags.hbztags; import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; From 550482fdc7c61777810c07ccfc8927c6c1861bd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Tue, 27 Aug 2024 11:25:32 +0200 Subject: [PATCH 20/54] Replace Pica Fields with Marc Fields for GND Enrichment --- .../marc/definition/tags/hbztags/TagGEL.java | 44 +++++++++---------- .../marc/definition/tags/hbztags/TagGGN.java | 28 ++++++------ .../marc/definition/tags/hbztags/TagGKS.java | 34 +++++++------- .../marc/definition/tags/hbztags/TagGKT.java | 31 ++++++------- .../marc/definition/tags/hbztags/TagGPN.java | 34 +++++++------- .../marc/definition/tags/hbztags/TagGSI.java | 16 ++++--- .../marc/definition/tags/hbztags/TagGST.java | 25 +++++------ 7 files changed, 107 insertions(+), 105 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGEL.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGEL.java index 6016535ff..960ed67a1 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGEL.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGEL.java @@ -6,7 +6,8 @@ /** * Uniform Title (GEL) from ALMA Publishing GND Authority Enrichment - * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on PICA+ Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/167033591/430.pdf + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on MARC Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/167033591/430.pdf + * https://www.alma-dach.org/alma-marc/authority/430/430.html */ public class TagGEL extends DataFieldDefinition { @@ -34,27 +35,26 @@ private void initialize() { ind2 = new Indicator(); setSubfieldsWithCardinality( - "4", "GND-Code für Beziehungen", "NR", - "5", "Institution (ISIL), die Feld in besonderer Art verwendet", "R", - "a", "Titel eines Werks", "NR", - "f", "Datum", "NR", - "g", "Zusatz", "R", - "h", "Inhaltstyp", "R", - "l", "Sprache der Expression", "R", - "L", "Sprachencode", "NR", - "m", "Besetzung im Musikbereich", "NR", - "n", "Zählung eines Teils/einer Abteilung eines Werks", "R", - "o", "Angaben des Musikarrangements", "NR", - "p", "Titel eines Teils/einer Abteilung eines Werks", "R", - "r", "Tonart", "NR", - "s", "Version", "NR", - "v", "Bemerkungen, Regelwerk", "R", - "x", "Allgemeine Unterteilung (temporär durch Migration)", "R", - "T", "Feldzuordnung bei nicht-lateinischen Schriftzeichen", "NR", - "U", "Schriftcode bei nicht-lateinischen Schriftzeichen", "NR", - "A", "Vocabulary subfield", "R", - "B", "Authority ID subfield", "R", - "C", "Authority tag subfield","R" + "a", "Titel eines Werkes", "NR", + "f", "Datum eines Werkes", "NR", + "g", "Zusatz", "R", + "h", "Inhaltstyp", "NR", + "i", "Beziehungsphrase", "NR", + "l", "Sprache der Expression", "NR", + "m", "Medium der Musikaufführung", "R", + "n", "Zählung eines Teils/einer Abteilung eines Werkes", "R", + "o", "Angabe des Musikarrangements", "NR", + "p", "Titel eines Teils/einer Abteilung eines Werkes", "R", + "r", "Tonart", "NR", + "s", "Version", "NR", + "w", "Kontrollunterfeld", "R", + "x", "Allgemeine Unterteilung", "R", + "4", "Beziehungscode", "R", + "5", "Institution, auf die sich das Feld bezieht", "R", + "9", "C: - Anwendungskontext (W), L: - Sprachcode (NW), U: - Schriftcode (NW), v: - Bemerkungen (W)", "R", + "A", "Vocabulary subfield", "R", + "B", "Authority ID subfield", "R", + "C", "Authority tag subfield","R" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGGN.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGGN.java index 73680660c..8f7869ca0 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGGN.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGGN.java @@ -6,7 +6,8 @@ /** * Geographic Name(GGN) from ALMA Publishing GND Authority Enrichment - * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on PICA+ Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664311/451.pdf + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on MARC Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664311/451.pdf + * https://www.alma-dach.org/alma-marc/authority/451/451.html */ public class TagGGN extends DataFieldDefinition { @@ -34,19 +35,18 @@ private void initialize() { ind2 = new Indicator(); setSubfieldsWithCardinality( - "4", "GND-Code für Beziehungen", "NR", - "5", "Institution (ISIL), die Feld in besonderer Art verwendet", "R", - "a", "Geografikum", "NR", - "g", "Zusatz", "R", - "L", "Sprachencode", "NR", - "v", "Bemerkungen, Regelwerk", "R", - "x", "Allgemeine Unterteilung (temporär durch Migration)", "R", - "z", "Geografische Untergliederung", "R", - "T", "Feldzuordnung bei nicht-lateinischen Schriftzeichen", "NR", - "U", "Schriftcode bei nicht-lateinischen Schriftzeichen", "NR", - "A", "Vocabulary subfield", "R", - "B", "Authority ID subfield", "R", - "C", "Authority tag subfield","R" + "a", "Name eines Geografikums", "NR", + "g", "Zusatz", "R", + "i", "Beziehungsphrase", "NR", + "w", "Kontrollunterfeld", "NR", + "x", "Allgemeine Unterteilung", "R", + "z", "Geografische Unterteilung", "R", + "4", "Beziehungscode", "R", + "5", "Institution, auf die sich das Feld bezieht", "R", + "9", "C: - Anwendungskontext (W), L: - Sprachcode (NW), U: - Schriftcode (NW), v: - Bemerkungen (NW)", "R", + "A", "Vocabulary subfield", "R", + "B", "Authority ID subfield", "R", + "C", "Authority tag subfield","R" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKS.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKS.java index acd5722bb..bcd7b22f9 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKS.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKS.java @@ -6,7 +6,8 @@ /** * Meeting Name (GKS) from ALMA Publishing GND Authority Enrichment - * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on PICA+ Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664310/411.pdf + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on MARC Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664310/411.pdf + * https://www.alma-dach.org/alma-marc/authority/411/411.html */ public class TagGKS extends DataFieldDefinition { @@ -34,21 +35,22 @@ private void initialize() { ind2 = new Indicator(); setSubfieldsWithCardinality( - "4", "GND-Code für Beziehungen", "NR", - "5", "Institution (ISIL), die Feld in besonderer Art verwendet", "R", - "a", "Hauptkonferenz", "NR", - "b", "Untergeordnete Einheit", "R", - "c", "Ort", "R", - "d", "Datum", "NR", - "g", "Zusatz", "R", - "L", "Sprachencode", "NR", - "v", "Bemerkungen, Regelwerk", "R", - "x", "Allgemeine Unterteilung (temporär durch Migration)", "R", - "T", "Feldzuordnung bei nicht-lateinischen Schriftzeichen", "NR", - "U", "Schriftcode bei nicht-lateinischen Schriftzeichen", "NR", - "A", "Vocabulary subfield", "R", - "B", "Authority ID subfield", "R", - "C", "Authority tag subfield","R" + "a", "Hauptkonferenzname", "NR", + "c", "Ort der Veranstaltung", "NR", + "d", "Datum", "NR", + "e", "Untergeordnete Einheit", "R", + "g", "Zusatz", "R", + "i", "Beziehungsphrase", "NR", + "j", "Funktionsbezeichnung", "R", + "n", "Zählung", "R", + "w", "Kontrollunterfeld", "NR", + "x", "Allgemeine Unterteilung", "R", + "4", "Beziehungscode", "R", + "5", "Institution, auf die sich das Feld bezieht", "R", + "9", "C: - Anwendungskontext (W), L: - Sprachcode (NW), U: - Schriftcode (NW), v: - Bemerkungen (W)", "R", + "A", "Vocabulary subfield", "R", + "B", "Authority ID subfield", "R", + "C", "Authority tag subfield","R" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKT.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKT.java index cd18b704f..37ea839a4 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKT.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKT.java @@ -6,7 +6,8 @@ /** * Corporate Name (GKT) from ALMA Publishing GND Authority Enrichment - * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on PICA+ Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664309/410.pdf + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on MARC Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664309/410.pdf + * https://www.alma-dach.org/alma-marc/authority/410/410.html */ public class TagGKT extends DataFieldDefinition { @@ -34,20 +35,20 @@ private void initialize() { ind2 = new Indicator(); setSubfieldsWithCardinality( - "4", "GND-Code für Beziehungen", "NR", - "5", "Institution (ISIL), die Feld in besonderer Art verwendet", "R", - "a", "Hauptkörperschaft", "NR", - "b", "Untergeordnete Körperschaft", "R", - "g", "Zusatz", "R", - "L", "Sprachencode", "NR", - "n", "Zählung", "R", - "v", "Bemerkungen, Regelwerk", "R", - "x", "Allgemeine Unterteilung (temporär durch Migration)", "R", - "T", "Feldzuordnung bei nicht-lateinischen Schriftzeichen", "NR", - "U", "Schriftcode bei nicht-lateinischen Schriftzeichen", "NR", - "A", "Vocabulary subfield", "R", - "B", "Authority ID subfield", "R", - "C", "Authority tag subfield","R" + "a", "Hauptkörperschaft", "NR", + "b", "Untergeordnete Körperschaft", "R", + "e", "Funktionsbezeichnung", "R", + "g", "Zusatz", "R", + "i", "Beziehungsphrase", "NR", + "n", "Zählung einer Körperschaft", "R", + "w", "Kontrollunterfeld", "NR", + "x", "Allgemeine Unterteilung", "R", + "4", "Beziehungscode", "R", + "5", "Institution, auf die sich das Feld bezieht", "R", + "9", "C: - Anwendungskontext (W), L: - Sprachcode (NW), U: - Schriftcode (NW), v: - Bemerkungen (W)", "R", + "A", "Vocabulary subfield", "R", + "B", "Authority ID subfield", "R", + "C", "Authority tag subfield","R" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java index cc6161282..6fc6ddd9e 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java @@ -6,7 +6,8 @@ /** * Personal Name (GPN) - GND 400 from ALMA Publishing GND Authority Enrichment - * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on PICA+ Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664281/400.pdf + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on MARC Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664281/400.pdf + * https://www.alma-dach.org/alma-marc/authority/400/400.html */ public class TagGPN extends DataFieldDefinition { @@ -34,23 +35,20 @@ private void initialize() { ind2 = new Indicator(); setSubfieldsWithCardinality( - "4", "GND-Code für Beziehungen", "NR", - "5", "InstitutioNR(=ISIL), die Feld iNRbesonderer Art verwendet", "R", - "a", "Nachname", "NR", - "c", "Nachgestelltes Präfix", "NR", - "d", "Vorname", "NR", - "g", "Zusatz", "R", - "l", "Beiname, Gattungsname, Titulatur, Territorium", "NR", - "L", "Sprachencode", "NR", - "N", "Zählung", "NR", - "P", "Persönlicher Name", "NR", - "v", "Bemerkungen, Regelwerk", "R", - "x", "Allgemeine Unterteilung", "R", - "T", "Feldzuordnung bei nicht-lateinischen Schriftzeichen", "NR", - "U", "Schriftcode bei nicht-lateinischen Schriftzeichen", "NR", - "A", "Vocabulary subfield", "R", - "B", "Authority ID subfield", "R", - "C", "Authority tag subfield","R" + "a", "Personenname", "NR", + "b", "Zählung", "NR", + "c", "Titel und andere Wörter in Verbindung mit einem Namen", "R", + "d", "Datumsangaben in Verbindung mit einem Namen", "NR", + "e", "Funktionsbezeichnung", "R", + "i", "Beziehungsphrase", "NR", + "w", "Kontrollunterfeld", "NR", + "x", "Allgemeine Unterteilung", "R", + "4", "Beziehungscode", "R", + "5", "Institution, auf die sich das Feld bezieht ", "R", + "9", "C: - Anwendungskontext (W), L: - Sprachcode (NW), U: - Schriftcode (NW), v: - Bemerkungen (W)", "R", + "A", "Vocabulary subfield", "R", + "B", "Authority ID subfield", "R", + "C", "Authority tag subfield","R" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGSI.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGSI.java index f2b886537..910c36d6b 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGSI.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGSI.java @@ -6,7 +6,8 @@ /** * Identifier/System Control Number (GSI) from ALMA Publishing GND Authority Enrichment - * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on PICA+ Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664257/024.pdf + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on MARC Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664257/024.pdfhttps://www.alma-dach.org/alma-marc/authority/024/024.html + * https://www.alma-dach.org/alma-marc/authority/024/024.html */ public class TagGSI extends DataFieldDefinition { @@ -34,12 +35,13 @@ private void initialize() { ind2 = new Indicator(); setSubfieldsWithCardinality( - "0", "Nummer/Code", "R", - "S", "Quelle/Code der Standardnummer", "NR", - "v", "Bemerkung", "NR", - "A", "Vocabulary subfield", "R", - "B", "Authority ID subfield", "R", - "C", "Authority tag subfield","R" + "a", "Standardnummer oder Code", "NR", + "0", "Standardnummer oder Code", "NR", + "2", "Quelle der Nummer oder des Codes", "NR", + "9", "5: - Zuständige Institution (NW), C: - Anwendungskontext (W), v: - Bemerkungen (NW)", "R", + "A", "Vocabulary subfield", "R", + "B", "Authority ID subfield", "R", + "C", "Authority tag subfield","R" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGST.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGST.java index 7b121db00..844853319 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGST.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGST.java @@ -6,7 +6,8 @@ /** * Topical Term (GST) from ALMA Publishing GND Authority Enrichment - * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on PICA+ Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664284/450.pdf + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 based on MARC Version of https://wiki.dnb.de/pages/viewpage.action?pageId=50759357&preview=/50759357/100664284/450.pdf + * https://www.alma-dach.org/alma-marc/authority/450/450.html */ public class TagGST extends DataFieldDefinition { @@ -34,18 +35,16 @@ private void initialize() { ind2 = new Indicator(); setSubfieldsWithCardinality( - "4", "GND-Code für Beziehungen", "NR", - "5", "Institution (ISIL), die Feld in besonderer Art verwendet", "R", - "a", "Sachbegriff", "NR", - "g", "Zusatz", "R", - "L", "Sprachencode", "NR", - "v", "Bemerkungen, Regelwerk", "R", - "x", "Allgemeine Unterteilung (temporär durch Migration)", "R", - "T", "Feldzuordnung bei nicht-lateinischen Schriftzeichen", "NR", - "U", "Schriftcode bei nicht-lateinischen Schriftzeichen", "NR", - "A", "Vocabulary subfield", "R", - "B", "Authority ID subfield", "R", - "C", "Authority tag subfield","R" + "a", "Sachbegriff", "NR", + "g", "Identifizierender Zusatz", "R", + "i", "Beziehungsphrase", "NR", + "w", "Kontrollunterfeld", "NR", + "x", "Allgemeine Unterteilung ", "R", + "5", "Institution, auf die sich das Feld bezieht", "R", + "9", "C: - Anwendungskontext (W), L: - Sprachcode (NW), U: - Schriftcode (NW), v: - Bemerkungen (NW)", "R", + "A", "Vocabulary subfield", "R", + "B", "Authority ID subfield", "R", + "C", "Authority tag subfield","R" ); } } From acac8a31a2a96c568f05518b9634e63e801a9140 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Tue, 27 Aug 2024 11:26:15 +0200 Subject: [PATCH 21/54] Add Subfields to HXX Holding Elements --- .../marc/definition/tags/hbztags/TagH16.java | 15 +++---- .../marc/definition/tags/hbztags/TagH24.java | 19 ++++---- .../marc/definition/tags/hbztags/TagH35.java | 17 ++++---- .../marc/definition/tags/hbztags/TagH42.java | 14 +++--- .../marc/definition/tags/hbztags/TagH43.java | 24 +++++++---- .../marc/definition/tags/hbztags/TagH52.java | 43 +++++++++++++++---- .../marc/definition/tags/hbztags/TagH56.java | 39 +++++++++++++---- .../marc/definition/tags/hbztags/TagH59.java | 17 +++----- .../marc/definition/tags/hbztags/TagH62.java | 20 +++++---- .../marc/definition/tags/hbztags/TagH66.java | 17 ++++---- .../marc/definition/tags/hbztags/TagH69.java | 22 +++++----- .../marc/definition/tags/hbztags/TagH80.java | 19 +++++--- .../marc/definition/tags/hbztags/TagH83.java | 32 ++++++++++---- .../marc/definition/tags/hbztags/TagH89.java | 2 +- .../marc/definition/tags/hbztags/TagH92.java | 26 ++++++----- .../marc/definition/tags/hbztags/TagH93.java | 23 +++++----- .../marc/definition/tags/hbztags/TagH94.java | 16 +++---- .../marc/definition/tags/hbztags/TagH95.java | 19 ++++---- .../marc/definition/tags/hbztags/TagHAD.java | 31 ++++++++----- 19 files changed, 246 insertions(+), 169 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH16.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH16.java index bc98fe731..9c1f44040 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH16.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH16.java @@ -33,14 +33,11 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + setSubfieldsWithCardinality( + "a", "Record control number", "NR", + "z", "Canceled or invalid control number", "R", + "2", "Source", "NR", + "8", "Field link and sequence number", "R" + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java index cd8ef8726..4e9c674fa 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java @@ -33,14 +33,15 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + setSubfieldsWithCardinality( + "a", "Standard number or code", "NR", + "c", "Terms of availability", "NR", + "d", "Additional codes following the standard number or code", "NR", + "q", "Qualifying information", "R", + "z", "Canceled/invalid standard number or code", "R", + "2", "Source of number or code", "NR", + "6", "Linkage", "NR", + "8", "Field link and sequence number", "R" + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH35.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH35.java index fde3bdf8b..a29733398 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH35.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH35.java @@ -1,5 +1,7 @@ package de.gwdg.metadataqa.marc.definition.tags.hbztags; +import org.apache.spark.internal.config.R; + import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; import de.gwdg.metadataqa.marc.definition.structure.Indicator; @@ -33,14 +35,11 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + setSubfieldsWithCardinality( + "a", "System control number", "NR", + "z", "Canceled or invalid control number", "R", + "6", "Linkage", "NR", + "8", "Field link and sequence number", "R" + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH42.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH42.java index 0eebca17a..a127042be 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH42.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH42.java @@ -33,14 +33,10 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + setSubfieldsWithCardinality( + "a", "Textual physical form designator", "NR", + "6", "Linkage", "NR", + "8", "Field link and sequence number", "R" + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH43.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH43.java index 744b154aa..46dd4b147 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH43.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH43.java @@ -33,14 +33,20 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + setSubfieldsWithCardinality( + "a", "Type of reproduction", "NR", + "b", "Place of reproduction", "R", + "c", "Agency responsible for reproduction", "R", + "d", "Date of reproduction", "NR", + "e", "Physical description of reproduction", "NR", + "f", "Series statement of reproduction", "R", + "m", "Dates of publication and/or sequential designation of issues reproduced", "R", + "n", "Note about reproduction", "R", + "3", "Materials specified", "NR", + "5", "Institution to which field applies", "NR", + "6", "Linkage", "NR", + "7", "Fixed-length data elements of reproduction", "NR", + "8", "Field link and sequence number", "R" + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH52.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH52.java index b235c1716..9a0755397 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH52.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH52.java @@ -33,14 +33,39 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + setSubfieldsWithCardinality( + +// Location + "a", "Location", "NR", + "b", "Sublocation or collection", "R", + "c", "Shelving location", "R", + "d", "Former shelving location", "R", + "e", "Address", "R", + "f", "Coded location qualifier", "R", + "g", "Non-coded location qualifier", "R", + "u", "Uniform Resource Identifier", "R", +// Shelving designation + "h", "Classification part", "NR", + "i", "Item part", "R", + "j", "Shelving control number", "NR", + "k", "Call number prefix", "R", + "l", "Shelving form of title", "NR", + "m", "Call number suffix", "R", +// Numbers and codes + "n", "Country code", "NR", + "s", "Copyright article-fee code", "R", + "t", "Copy number", "NR", +// Descriptors + "p", "Piece designation", "NR", + "q", "Piece physical condition", "NR", +// Notes + "x", "Nonpublic note", "R", + "z", "Public note", "R", +// Control subfields + "2", "Source of classification or shelving scheme", "NR", + "3", "Materials specified", "NR", + "6", "Linkage", "NR", + "8", "Sequence number", "NR" + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java index d2ff5a751..79251f8e0 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java @@ -33,14 +33,35 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + setSubfieldsWithCardinality( + + "a", "Host name", "R", + "c", "Compression information", "R", + "d", "Path", "R", + "f", "Electronic name", "R", + "g", "Persistent identifier", "R", + "h", "Non-functioning Uniform Resource Identifier", "R", + "l", "Standardized information governing access", "R", + "m", "Contact for access assistance", "R", + "n", "Terms governing access", "R", + "o", "Operating system", "NR", + "p", "Port", "NR", + "q", "Electronic format type", "R", + "r", "Standardized information governing use and reproduction", "R", + "s", "File size", "R", + "t", "Terms governing use and reproduction", "R", + "u", "Uniform Resource Identifier", "R", + "v", "Hours access method available", "R", + "w", "Record control number", "R", + "x", "Nonpublic note", "R", + "y", "Link text", "R", + "z", "Public note", "R", + "2", "Access method", "NR", + "3", "Materials specified", "NR", + "6", "Linkage", "NR", + "7", "Access status", "NR", + "8", "Field link and sequence number", "R" + + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java index 36a8100b9..b4ede8ecb 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java @@ -5,8 +5,9 @@ import de.gwdg.metadataqa.marc.definition.structure.Indicator; /** - * LOCAL 859 (H59) from ALMA Publishing Holdings information (Hxx) + * normierte Bestandsangaben LOCAL 859 (H59) from ALMA Publishing Holdings information (Hxx) * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + * https://www.alma-dach.org/alma-marc/holdings/859/859.html */ public class TagH59 extends DataFieldDefinition { @@ -33,14 +34,10 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + setSubfieldsWithCardinality( + "8", "Sortierhilfe", "NR", + "a", "Bandzählung", "NR", + "i", "Berichtsjahr", "NR" + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH62.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH62.java index 551978c05..367fccec3 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH62.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH62.java @@ -33,14 +33,16 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + setSubfieldsWithCardinality( + "a", "Identifying markings", "R", + "b", "Copy identification", "R", + "c", "Version identification", "R", + "d", "Presentation format", "R", + "e", "Number of copies", "R", + "3", "Materials specified", "NR", + "5", "Institution to which field applies", "NR", + "6", "Linkage", "NR", + "8", "Field link and sequence number", "R" + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH66.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH66.java index 3ed1cd66f..1105db8b8 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH66.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH66.java @@ -33,14 +33,13 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + setSubfieldsWithCardinality( + "a", "Textual holdings", "NR", + "x", "Nonpublic note", "R", + "z", "Public note", "R", + "2", "Source of notation", "NR", + "6", "Linkage", "NR", + "8", "Field link and sequence number", "R" + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java index 8b40b8dad..a1382438f 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java @@ -5,8 +5,9 @@ import de.gwdg.metadataqa.marc.definition.structure.Indicator; /** - * LOCAL 869 (H69) from ALMA Publishing Holdings information (Hxx) + * Lizenzzeiträume in normierter Form LOCAL 869 (H69) from ALMA Publishing Holdings information (Hxx) * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + * https://www.alma-dach.org/alma-marc/holdings/869/869.html */ public class TagH69 extends DataFieldDefinition { @@ -33,14 +34,15 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + setSubfieldsWithCardinality( + "8", "Sortierhilfe ", "NR", + "9", "interne Feldnummerierung", "NR", + "y", "Moving Wall", "NR", + "a", "Bandzählung", "NR", + "b", "Heftzählung", "NR", + "j", "Monatszählung", "NR", + "k", "Tageszählung", "NR", + "i", "Jahreszählung", "NR" + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH80.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH80.java index a7f828236..7f5f56cb9 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH80.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH80.java @@ -33,14 +33,19 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: + // TODO: Needs to be adjusted, element is not defined: // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" + // H80 $8 + // H80 $a + // H80 $b + // H80 $d + // H80 $k + // H80 $n + // H80 $o + // H80 $p + // H80 $q + // H80 $r + // H80 $t // ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH83.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH83.java index 1e44484e5..49a6e3d0f 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH83.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH83.java @@ -33,14 +33,28 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + setSubfieldsWithCardinality( + "a", "Action", "NR", + "b", "Action identification", "R", + "c", "Time/date of action", "R", + "d", "Action interval", "R", + "e", "Contingency for action", "R", + "f", "Authorization", "R", + "h", "Jurisdiction", "R", + "i", "Method of action", "R", + "j", "Site of action", "R", + "k", "Action agent", "R", + "l", "Status", "R", + "n", "Extent", "R", + "o", "Type of unit", "R", + "u", "Uniform Resource Identifier", "R", + "x", "Nonpublic note", "R", + "z", "Public note", "R", + "2", "Source of term", "NR", + "3", "Materials specified", "NR", + "5", "Institution to which field applies", "NR", + "6", "Linkage", "NR", + "8", "Field link and sequence number", "R" + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH89.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH89.java index 2bdf28f69..ae36a4fc4 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH89.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH89.java @@ -5,7 +5,7 @@ import de.gwdg.metadataqa.marc.definition.structure.Indicator; /** - * LOCAL 689 (H89) from ALMA Publishing Holdings information (Hxx) + * RSWK-Schlagwortketten LOCAL 689 (H89) from ALMA Publishing Holdings information (Hxx) * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 */ public class TagH89 extends DataFieldDefinition { diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java index 706199411..9d7e4eb8f 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java @@ -5,8 +5,9 @@ import de.gwdg.metadataqa.marc.definition.structure.Indicator; /** - * LOCAL 092 (H92) from ALMA Publishing Holdings information (Hxx) + * Leihverkehrsangaben - LOCAL 092 (H92) from ALMA Publishing Holdings information (Hxx) * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + * https://www.alma-dach.org/alma-marc/holdings/092/092.html */ public class TagH92 extends DataFieldDefinition { @@ -33,14 +34,19 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + + setSubfieldsWithCardinality( + "a", "Bibliothekskennung (BIK)", "NR", + "d", "ZDB-Paket-Sigel", "R", + "k", "Leihverkehrs-Region", "NR", + "l", "Leihverkehrsrelevanz", "NR", + "o", "Fernleihindikator", "NR", + "p", "Vertragsrechtl. Einschränkungen bei der Fernleihe", "R", + "q", "Kommentar zum Fernleihindikator", "NR", + "u", "SSG-Nummer und/oder Angaben zur DFG-Förderung", "NR", + "w", "SSG-Notation", "R", + "y", "ZDB-Prioritätszahl", "R", + "z", "Finanzierungsart", "NR" + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java index c80f972aa..1876ecf99 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java @@ -5,8 +5,9 @@ import de.gwdg.metadataqa.marc.definition.structure.Indicator; /** - * LOCAL 093 (H93) from ALMA Publishing Holdings information (Hxx) + * Lizenzinformationen - LOCAL 093 (H93) from ALMA Publishing Holdings information (Hxx) * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + * https://www.alma-dach.org/alma-marc/holdings/093/093.html */ public class TagH93 extends DataFieldDefinition { @@ -33,14 +34,16 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + + setSubfieldsWithCardinality( + "a", "Herkunft, Erfassungsrichtung,Lizenzsatz", "NR", + "b", "Angaben zu den Zugriffsrechten", "NR", + "c", "Angaben zur Zahl der parallelen Zugriffe", "NR", + "d", "Kommentar zu den Zugriffsrechten", "NR", + "e", "Angaben zum Dokumenttyp", "NR", + "f", "Angaben zum Lizenztyp", "NR", + "g", "Angaben zum Preistyp", "NR", + "h", "Kommentar zu Dokument-, Lizenz- und Preistyp", "NR" + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java index 3a9478259..faf933c54 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java @@ -5,8 +5,9 @@ import de.gwdg.metadataqa.marc.definition.structure.Indicator; /** - * LOCAL 094 (H94) from ALMA Publishing Holdings information (Hxx) + * Lokale Notation - LOCAL 094 (H94) from ALMA Publishing Holdings information (Hxx) * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + * https://www.alma-dach.org/alma-marc/holdings/094/094.html */ public class TagH94 extends DataFieldDefinition { @@ -33,14 +34,9 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + + setSubfieldsWithCardinality( + "a", "Notation", "R" + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java index 95ba65811..7edd0259d 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java @@ -5,8 +5,9 @@ import de.gwdg.metadataqa.marc.definition.structure.Indicator; /** - * LOCAL 695 (H95) from ALMA Publishing Holdings information (Hxx) + * Schlagwörter und Schlagwortketten (nicht RSWK) - LOCAL 695 (H95) from ALMA Publishing Holdings information (Hxx) * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + * https://www.alma-dach.org/alma-marc/holdings/695/695.html */ public class TagH95 extends DataFieldDefinition { @@ -33,14 +34,12 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + setSubfieldsWithCardinality( + "a", "...", "R", + "b", "...", "R", + "9", "...", "R", + "x", "...", "R", + "v", "...", "R" + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java index a1642001d..88c99d936 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java @@ -6,7 +6,7 @@ /** * Alte Drucke/Provenienz LOCAL 992 (HAD) from ALMA Publishing Holdings information (Hxx) - * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658 - https://www.alma-dach.org/alma-marc/holdings/992/992.html */ public class TagHAD extends DataFieldDefinition { @@ -33,14 +33,23 @@ private void initialize() { ind1 = new Indicator(); ind2 = new Indicator(); - // TODO: Needs to be adjusted: - // setSubfieldsWithCardinality( - // "0", "Nummer/Code", "R", - // "S", "Quelle/Code der Standardnummer", "NR", - // "v", "Bemerkung", "NR", - // "A", "Vocabulary subfield", "R", - // "B", "Authority ID subfield", "R", - // "C", "Authority tag subfield","R" - // ); + + setSubfieldsWithCardinality( + "a", "Zweigstelle", "NR", + "b", "Exemplarspezifische bibliographische Angaben", "NR", + "c", "Illustration(en) /Buchmalerei Schreibstoff / Beschreibstoff Wasserzeichen", "NR", + "d", "Einband", "NR", + "e", "Exemplarhinweise", "NR", + "f", "Signaturvermerk", "NR", + "g", "Standortvermerk (Standort, Collection)", "NR", + "h", "Aufstellungssystematikvermerk", "NR", + "k", "Historische Kaufvermerke", "NR", + "l", "Literaturhinweise", "NR", + "m", "Marginalien", "NR", + "p", "Provenienz", "R", + "q", "Raubgutkennung (CV-Liste verfügbar)", "NR", + "r", "Restitutionsstatus (CV-Liste verfügbar)", "NR", + "s", "Alte Signatur", "R" + ); } -} +} \ No newline at end of file From 6ad6e51971a2147d9314c0005fa54318f39e380c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Tue, 27 Aug 2024 14:14:29 +0200 Subject: [PATCH 22/54] Delete unnecessary import --- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH35.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH35.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH35.java index a29733398..d64307d1e 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH35.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH35.java @@ -1,7 +1,5 @@ package de.gwdg.metadataqa.marc.definition.tags.hbztags; -import org.apache.spark.internal.config.R; - import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; import de.gwdg.metadataqa.marc.definition.structure.Indicator; From 05906fbc8fd3b1446970e1090454840113d3f3bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Tue, 27 Aug 2024 14:18:02 +0200 Subject: [PATCH 23/54] Reuse DNB Elements via script --- catalogues/hbz.sh | 2 +- .../marc/definition/tags/hbztags/Tag249.java | 45 --------- .../marc/definition/tags/hbztags/Tag259.java | 43 -------- .../marc/definition/tags/hbztags/Tag591.java | 43 -------- .../marc/definition/tags/hbztags/Tag689.java | 80 --------------- .../marc/definition/tags/hbztags/Tag889.java | 42 -------- .../marc/definition/tags/hbztags/Tag924.java | 97 ------------------- .../marc/definition/tags/hbztags/Tag925.java | 62 ------------ .../marc/definition/tags/hbztags/Tag926.java | 62 ------------ .../marc/definition/tags/hbztags/Tag930.java | 49 ---------- .../marc/definition/tags/hbztags/Tag931.java | 43 -------- .../marc/definition/tags/hbztags/Tag932.java | 42 -------- 12 files changed, 1 insertion(+), 609 deletions(-) delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java delete mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java diff --git a/catalogues/hbz.sh b/catalogues/hbz.sh index e42658197..6ff747860 100755 --- a/catalogues/hbz.sh +++ b/catalogues/hbz.sh @@ -11,7 +11,7 @@ if [[ $TYPE == "marc" ]]; then MASK=*.mrc elif [[ $TYPE == "xml" ]]; then echo "xml" - TYPE_PARAMS="--marcVersion MARC21 --marcxml --fixAlma" + TYPE_PARAMS="--marcVersion DNB,HBZ --marcxml --fixAlma" MARC_DIR=${BASE_INPUT_DIR}/${NAME}/marc MASK=*.gz else diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java deleted file mode 100644 index b7615d529..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java +++ /dev/null @@ -1,45 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.hbztags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Weitere Titel etc. bei Zusammenstellungen - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag249 extends DataFieldDefinition { - - private static Tag249 uniqueInstance; - - private Tag249() { - initialize(); - postCreation(); - } - - public static Tag249 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag249(); - return uniqueInstance; - } - - private void initialize() { - tag = "249"; - label = "Weitere Titel etc. bei Zusammenstellungen"; - mqTag = "WeitereTitel"; - cardinality = Cardinality.Nonrepeatable; - descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator(); - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Weiterer Titel bei Zusammenstellungen", "R", - "b", "Titelzusätze zur gesamten Zusammenstellung", "NR", - "v", "Verantwortlichkeitsangabe zum weiteren Titel", "R" - ); - - getSubfield("a") - .setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java deleted file mode 100644 index aaffe3980..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java +++ /dev/null @@ -1,43 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.hbztags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Ausgabebezeichnung in normierter Form - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag259 extends DataFieldDefinition { - - private static Tag259 uniqueInstance; - - private Tag259() { - initialize(); - postCreation(); - } - - public static Tag259 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag259(); - return uniqueInstance; - } - - private void initialize() { - tag = "259"; - label = "Ausgabebezeichnung in normierter Form"; - mqTag = "WeitereTitel"; - cardinality = Cardinality.Nonrepeatable; - // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator(); - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Ausgabebezeichnung in normierter Form", "R" - ); - - getSubfield("a") - .setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java deleted file mode 100644 index 084570991..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java +++ /dev/null @@ -1,43 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.hbztags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Bemerkungen zur Titelaufnahme - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag591 extends DataFieldDefinition { - - private static Tag591 uniqueInstance; - - private Tag591() { - initialize(); - postCreation(); - } - - public static Tag591 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag591(); - return uniqueInstance; - } - - private void initialize() { - tag = "591"; - label = "Bemerkungen zur Titelaufnahme"; - mqTag = "BemerkungenZurTitelaufnahme"; - cardinality = Cardinality.Nonrepeatable; - // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator(); - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Fussnote", "R" - ); - - getSubfield("a") - .setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java deleted file mode 100644 index 7868f9cf1..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java +++ /dev/null @@ -1,80 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.hbztags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; -import de.gwdg.metadataqa.marc.definition.structure.SubfieldDefinition; - -/** - * RSWK-Kette - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag689 extends DataFieldDefinition { - - private static Tag689 uniqueInstance; - - private Tag689() { - initialize(); - postCreation(); - } - - public static Tag689 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag689(); - return uniqueInstance; - } - - private void initialize() { - tag = "689"; - label = "RSWK-Kette"; - mqTag = "RSWKKette"; - cardinality = Cardinality.Repeatable; - // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator("Nummer der RSWK-Kette") - .setCodes( - "0-9", "Nummer der RSWK-Kette" - ) - .setMqTag("nummerDerRSWKKette"); - ind1.getCode("0-9").setRange(true); - - ind2 = new Indicator("Nummer des Kettengliedes") - .setCodes( - " ", "Abschluss einer RSWK-Kettenfolge, Feld enthält dann zwei $5", - "0-9", "Nummer des Kettengliedes" - ) - .setMqTag("nummerDesKettengliedes"); - ind2.getCode("0-9").setRange(true); - - setSubfieldsWithCardinality( - "A", "Indikator des Kettengliedes", "R", - "B", "Permutationsmuster", "R", - "C", "Bemerkungen", "R", - "D", "Repräsentation der MARC-Feldnummer", "R", - "0", "Authority record control number(IDN des Normdatensatzes)", "R", - "5", "Herkunft", "R" - ); - for (char c = 'a'; c <= 'z'; c++) - subfields.add(new SubfieldDefinition(String.valueOf(c), "Same as associated field", "R") - .setParent(this)); - indexSubfields(); - - getSubfield("A").setCodes( - "f", "Formschlagwort", - "g", "geographischer Unterbegriff", - "z", "Zeitschlagwort" - ); - getSubfield("D").setCodes( - "b", "Körperschaft", - "f", "Kongress", - "g", "Geografikum", - "n", "Person (nicht individualisiert)", - "p", "Person (individualisiert)", - "s", "Sachbegriff", - "u", "Werk (nur bei Werken ohne geistige Schöpfer)" - ); - - getSubfield("A") - .setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java deleted file mode 100644 index 9fa1f64dd..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java +++ /dev/null @@ -1,42 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.hbztags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Angaben zum umgelenkten Datensatz - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag889 extends DataFieldDefinition { - - private static Tag889 uniqueInstance; - - private Tag889() { - initialize(); - postCreation(); - } - - public static Tag889 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag889(); - return uniqueInstance; - } - - private void initialize() { - tag = "889"; - label = "Angaben zum umgelenkten Datensatz"; - mqTag = "AngabenZumUmgelenktenDatensatz"; - cardinality = Cardinality.Repeatable; - // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator(); - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "w", "Replacement bibliographic record control number (Kontrollnummer des Zielsatzes)", "R" - ); - - getSubfield("w").setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java deleted file mode 100644 index 0cbf7dfa3..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java +++ /dev/null @@ -1,97 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.hbztags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Bestandsinformationen - */ -public class Tag924 extends DataFieldDefinition { - - private static Tag924 uniqueInstance; - - private Tag924() { - initialize(); - postCreation(); - } - - public static Tag924 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag924(); - return uniqueInstance; - } - - private void initialize() { - tag = "924"; - label = "Bestandsinformationen"; - mqTag = "Bestandsinformationen"; - cardinality = Cardinality.Repeatable; - // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator("Art der Ressource") - .setCodes( - "0", "Nicht-elektronisch", - "1", "Elektronisch" - ) - .setMqTag("artDerRessource"); - - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Lokale IDN des Bestandsdatensatzes", "NR", - "b", "ISIL als Kennzeichen der besitzenden Institution", "NR", - "c", "Leihverkehrsregion", "NR", - "d", "Fernleihindikator", "NR", - "e", "(Vertragsrechtliche) Einschränkungen bei der Fernleihe", "R", - "f", "Kommentar zum Fernleihindikator", "R", - "g", "Signatur", "R", - "h", "Sonderstandort / Abteilung", "R", - "i", "Sonderstandort-Signatur", "R", - "j", "Kommentar(e) zur Signatur", "R", - "k", "Elektronische Adresse für eine Computerdatei im Fernzugriff, Uniform Resource Identifier", "R", - "l", "Elektronische Adresse für eine Computerdatei im Fernzugriff, Interne und Allg. Bemerkungen (zum URI)", "R", - "m", "Normierte Bestandsangaben, Bandzählung (Beginn)", "R", - "n", "Normierte Bestandsangaben, Heftzählung (Beginn)", "R", - "o", "Normierte Bestandsangaben, Tageszählung (Beginn)", "R", - "p", "Normierte Bestandsangaben, Monatszählung (Beginn)", "R", - "q", "Normierte Bestandsangaben, Jahr (Beginn)", "R", - "r", "Normierte Bestandsangaben, Bandzählung (Ende)", "R", - "s", "Normierte Bestandsangaben, Heftzählung (Ende)", "R", - "t", "Normierte Bestandsangaben, Tageszählung (Ende)", "R", - "u", "Normierte Bestandsangaben, Monatszählung (Ende)", "R", - "v", "Normierte Bestandsangaben, Jahr (Ende)", "R", - "w", "Normierte Bestandsangaben, Kettung", "R", - "x", "Normierte Bestandsangaben, Kennzeichnung \"laufender Bestand\"", "R", - "y", "Aufbewahrungs- und Verfügbarkeitszeitraum, Moving Wall", "R", - "z", "Zusammenfassende Bestandsangaben", "R", - "9", "Sigel als Kennzeichen der besitzenden Institution", "R" - ); - - getSubfield("c").setCodes( - "ANL", "Nationallizenzen für Deutschland", - "BAW", "Leihverkehrsregion Baden-Württemberg und Saarland", - "BAY", "Leihverkehrsregion Bayern", - "BER", "Leihverkehrsregion Berlin und Brandenburg", - "HAM", "Leihverkehrsregion GBV (Hamburg, Bremen, Schleswig-Holstein und Mecklenburg-Vorpommern)", - "HES", "Leihverkehrsregion Hessen und Teile von Rheinland-Pfalz", - "NIE", "Leihverkehrsregion GBV (Niedersachsen)", - "NRW", "Leihverkehrsregion Nordrhein-Westfalen und Teile von Rheinland-Pfalz", - "SAA", "Leihverkehrsregion GBV (Sachsen-Anhalt)", - "SAX", "Leihverkehrsregion Sachsen", - "THU", "Leihverkehrsregion GBV (Thüringen)", - "WEU", "Bibliotheken im Ausland", - "WWW", "Nur im Internet" - ); - - getSubfield("e").setCodes( - "a", "Fernleihe (nur Ausleihe)", - "e", "Fernleihe (Kopie, elektronischer Versand an Endnutzer möglich)", - "k", "Fernleihe (Nur Kopie)", - "l", "Fernleihe (Kopie und Ausleihe)", - "n", "Keine Fernleihe" - ); - - getSubfield("a").setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java deleted file mode 100644 index 64e648096..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java +++ /dev/null @@ -1,62 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.hbztags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Weitere DNB-Codierungen - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag925 extends DataFieldDefinition { - - private static Tag925 uniqueInstance; - - private Tag925() { - initialize(); - postCreation(); - } - - public static Tag925 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag925(); - return uniqueInstance; - } - - private void initialize() { - tag = "925"; - label = "Weitere DNB-Codierungen"; - mqTag = "WeitereDNBCodierungen"; - cardinality = Cardinality.Repeatable; - // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator("First") // TODO: ask what it is, it is not set in the document - .setCodes( - "p", "Published on demand (bei Netzpublikationen", - "r", "Reihenzugehörigkeit", - "s", "Zugehörigkeit zu einer Sammlung" - ) - .setMqTag("first"); - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Code je nach Indikatoren", "R" - ); - - getSubfield("a").setCodes( - "pd", "Books on demand", - "ra", "Reihe A", - "rb", "Reihe B", - "rc", "Reihe C", - "rh", "Reihe H", - "ro", "Reihe O", - "rm", "Reihe M", - "rt", "Reihe T", - "rg", "Fremdsprachige Germanica (1992 - 2003)", - "ru", "Übersetzung deutschsprachiger Werke (1992 - 2003)", - "ep", "E-Paper" - ); - - getSubfield("a").setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java deleted file mode 100644 index ebe731088..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java +++ /dev/null @@ -1,62 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.hbztags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Thema-Klassifikation - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag926 extends DataFieldDefinition { - - private static Tag926 uniqueInstance; - - private Tag926() { - initialize(); - postCreation(); - } - - public static Tag926 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag926(); - return uniqueInstance; - } - - private void initialize() { - tag = "926"; - label = "Thema-Klassifikation"; - mqTag = "ThemaKlassifikation"; - cardinality = Cardinality.Repeatable; - // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator("Level der Thema-Klassifikation") - .setCodes( - "1", "Primär (aus ONIX mainsubject)", - "2", "Sekundär (aus ONIX subject)" - ) - .setMqTag("level"); - - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Thema-Code (Subjects + Qualifier)", "NR", - "o", "ONIX-Code für Thema-Klasse", "NR", - "q", "Thema-Quelle (Sourcename)", "NR", - "v", "Thema-Version", "NR", - "x", "Thema-Text", "NR" - ); - - getSubfield("o").setCodes( - "93", "Thema subject category", - "94", "Thema geographical qualifier", - "95", "Thema language qualifier", - "96", "Thema time period qualifier", - "97", "Thema educational purpose qualifier", - "98", "Thema interest age / special interest qualifier", - "99", "Thema style qualifier" - ); - - getSubfield("a").setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java deleted file mode 100644 index 5730c429a..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java +++ /dev/null @@ -1,49 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.hbztags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Unterreihenangaben in strukturierter Form - ZDB - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag930 extends DataFieldDefinition { - - private static Tag930 uniqueInstance; - - private Tag930() { - initialize(); - postCreation(); - } - - public static Tag930 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag930(); - return uniqueInstance; - } - - private void initialize() { - tag = "930"; - label = "Unterreihenangaben in strukturierter Form - ZDB"; - mqTag = "UnterreihenangabenInStrukturierterFormZDB"; - cardinality = Cardinality.Repeatable; - descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator(); - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Titel der Unterreihe", "NR", - "d", "Zusatz zum Sachtitel/Parallelsachtitel der Unterreihe", "R", - "e", "Reihenbezeichnung und /oder Zählung", "R", - "f", "Parallelsachtitel zur UR(@)", "R", - "h", "Verfasserangabe zur Unterreihe", "NR", - "l", "Reihenbezeichnung und /oder Zählung", "NR", - "n", "Reihenbezeichnung und /oder Zählung", "NR", - "r", "Undifferenzierter Text", "NR" - ); - - getSubfield("a").setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java deleted file mode 100644 index 3181afe37..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java +++ /dev/null @@ -1,43 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.hbztags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Gravierende Korrektur - ZDB - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag931 extends DataFieldDefinition { - - private static Tag931 uniqueInstance; - - private Tag931() { - initialize(); - postCreation(); - } - - public static Tag931 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag931(); - return uniqueInstance; - } - - private void initialize() { - tag = "931"; - label = "Gravierende Korrektur - ZDB"; - mqTag = "GravierendeKorrekturZDB"; - cardinality = Cardinality.Repeatable; - descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator(); - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Datum (JJ-MM-TT)", "NR", - "b", "Selektionsschlüssel", "NR" - ); - - getSubfield("a").setMqTag("rdf:value"); - } -} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java deleted file mode 100644 index 6d00baa14..000000000 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java +++ /dev/null @@ -1,42 +0,0 @@ -package de.gwdg.metadataqa.marc.definition.tags.hbztags; - -import de.gwdg.metadataqa.marc.definition.Cardinality; -import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; -import de.gwdg.metadataqa.marc.definition.structure.Indicator; - -/** - * Online-Contents-Ausschnittskennung - ZDB - * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 - */ -public class Tag932 extends DataFieldDefinition { - - private static Tag932 uniqueInstance; - - private Tag932() { - initialize(); - postCreation(); - } - - public static Tag932 getInstance() { - if (uniqueInstance == null) - uniqueInstance = new Tag932(); - return uniqueInstance; - } - - private void initialize() { - tag = "932"; - label = "Online-Contents-Ausschnittskennung - ZDB"; - mqTag = "OnlineContentsAusschnittskennungZDB"; - cardinality = Cardinality.Repeatable; - descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; - - ind1 = new Indicator(); - ind2 = new Indicator(); - - setSubfieldsWithCardinality( - "a", "Online-Contents-Ausschnittskennung", "R" - ); - - getSubfield("a").setMqTag("rdf:value"); - } -} From 6e973dc7067641509430f2bf0852dbfbacb347e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Tue, 27 Aug 2024 14:39:47 +0200 Subject: [PATCH 24/54] Update tests --- .../gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java | 2 +- .../java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java index 98e1f9848..21086235f 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java @@ -15,7 +15,7 @@ public void testStatistics() { assertEquals( 229, statistics.get(DataElementType.coreFields)); assertEquals( 184, statistics.get(DataElementType.coreIndicators)); assertEquals(2667, statistics.get(DataElementType.coreSubfields)); - assertEquals( 264, statistics.get(DataElementType.localFields)); + assertEquals( 265, statistics.get(DataElementType.localFields)); assertEquals( 30, statistics.get(DataElementType.localIndicators)); assertEquals(2024, statistics.get(DataElementType.localSubfields)); assertEquals(5616, statistics.total()); diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java index 868452e36..f8cd0059f 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java @@ -28,7 +28,7 @@ public void testListTag() { List> tags = MarcTagLister.listTags(); assertNotNull(tags); assertNotEquals(0, tags.size()); - assertEquals(493, tags.size()); + assertEquals(494, tags.size()); assertEquals("Tag010", tags.get(0).getSimpleName()); Map versionCounter = new HashMap<>(); Map versionCounter2 = new HashMap<>(); From 22ea0acb298d0c6ae0810237e6db3d9994ae6514 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Tue, 27 Aug 2024 15:36:24 +0200 Subject: [PATCH 25/54] Add indicator definitions --- .../marc/definition/tags/hbztags/TagGEL.java | 6 +++- .../marc/definition/tags/hbztags/TagGKS.java | 7 ++++- .../marc/definition/tags/hbztags/TagGKT.java | 8 +++++- .../marc/definition/tags/hbztags/TagGPN.java | 9 +++++- .../marc/definition/tags/hbztags/TagGSI.java | 7 ++++- .../marc/definition/tags/hbztags/TagH16.java | 8 +++++- .../marc/definition/tags/hbztags/TagH24.java | 23 +++++++++++++-- .../marc/definition/tags/hbztags/TagH52.java | 26 +++++++++++++++-- .../marc/definition/tags/hbztags/TagH56.java | 28 +++++++++++++++++-- .../marc/definition/tags/hbztags/TagH59.java | 16 +++++++++-- .../marc/definition/tags/hbztags/TagH69.java | 16 +++++++++-- .../marc/definition/tags/hbztags/TagH83.java | 8 +++++- 12 files changed, 145 insertions(+), 17 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGEL.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGEL.java index 960ed67a1..f39cb0e87 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGEL.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGEL.java @@ -32,7 +32,11 @@ private void initialize() { descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; ind1 = new Indicator(); - ind2 = new Indicator(); + ind2 = new Indicator("Nichtsortierende Zeichen") + .setCodes( + "0", "Keine nichtsortierenden Zeichen" + ) + .setMqTag("nichtsortierendeZeichen"); setSubfieldsWithCardinality( "a", "Titel eines Werkes", "NR", diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKS.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKS.java index bcd7b22f9..668f875e8 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKS.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKS.java @@ -31,7 +31,12 @@ private void initialize() { cardinality = Cardinality.Repeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; - ind1 = new Indicator(); + ind1 = new Indicator("Art des Veranstaltungsnamens als Eintragungselement") + .setCodes( + "2", "Name einer Veranstaltung" + ) + .setMqTag("artDesVeranstaltungsnamensAlsEintragungselement"); + ind2 = new Indicator(); setSubfieldsWithCardinality( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKT.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKT.java index 37ea839a4..3e2f7456a 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKT.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGKT.java @@ -31,7 +31,13 @@ private void initialize() { cardinality = Cardinality.Repeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; - ind1 = new Indicator(); + ind1 = new Indicator("Art Körperschaftsnamens") + .setCodes( + "1", "Name einer Gebietskörperschaft", + "2", "Name einer Körperschaft" + ) + .setMqTag("artKoerperschaftsnamens"); + ind2 = new Indicator(); setSubfieldsWithCardinality( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java index 6fc6ddd9e..547ce987f 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java @@ -31,7 +31,14 @@ private void initialize() { cardinality = Cardinality.Repeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; - ind1 = new Indicator(); + ind1 = new Indicator("Art der Eintragung des Personennamenelements") + .setCodes( + "0", "Vorname", + "1", "Nachname", + "3", "Familienname" + ) + .setMqTag("artDerEintragungDesPersonennamenelements"); + ind2 = new Indicator(); setSubfieldsWithCardinality( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGSI.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGSI.java index 910c36d6b..705f3ef01 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGSI.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGSI.java @@ -31,7 +31,12 @@ private void initialize() { cardinality = Cardinality.Repeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; - ind1 = new Indicator(); + ind1 = new Indicator("Art der Standard-Nummer oder des Codes") + .setCodes( + "7", "Quelle näher beschrieben im Unterfeld $2", + "8", "Unspezifizierte Art der Standardnummer oder des Codes" + ) + .setMqTag("artDerStandard-NummerOderDesCodes"); ind2 = new Indicator(); setSubfieldsWithCardinality( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH16.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH16.java index 9c1f44040..90b425991 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH16.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH16.java @@ -30,7 +30,13 @@ private void initialize() { cardinality = Cardinality.Repeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; - ind1 = new Indicator(); + ind1 = new Indicator("National bibliographic agency") + .setCodes( + " ", "Library and Archives Canada", + "7", "Source specified in subfield $2" + ) + .setMqTag("nationalBibliographicAgency"); + ind2 = new Indicator(); setSubfieldsWithCardinality( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java index 4e9c674fa..99d80d64a 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java @@ -1,5 +1,7 @@ package de.gwdg.metadataqa.marc.definition.tags.hbztags; +import org.apache.hadoop.shaded.org.apache.commons.net.nntp.Article; + import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; import de.gwdg.metadataqa.marc.definition.structure.Indicator; @@ -30,8 +32,25 @@ private void initialize() { cardinality = Cardinality.Repeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; - ind1 = new Indicator(); - ind2 = new Indicator(); + ind1 = new Indicator("Type of standard number or code") + .setCodes( + "0", "International Standard Recording Code", + "1", "Universal Product Code", + "2", "International Standard Music Number", + "3", "International Article Number", + "4", "Serial Item and Contribution Identifier", + "7", "Source specified in subfield $2", + "8", "Unspecified type of standard number or code" + ) + .setMqTag("typeOfStandardNumberOrCode"); + + ind2 = new Indicator("Difference indicator") + .setCodes( + " ", "No information provided", + "0", "No difference", + "1", "Difference" + ) + .setMqTag("differenceIndicator"); setSubfieldsWithCardinality( "a", "Standard number or code", "NR", diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH52.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH52.java index 9a0755397..95e7feb17 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH52.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH52.java @@ -30,8 +30,30 @@ private void initialize() { cardinality = Cardinality.Repeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; - ind1 = new Indicator(); - ind2 = new Indicator(); + ind1 = new Indicator("Shelving scheme") + .setCodes( + " ", "No information provided", + "0", "Library of Congress classification", + "1", "Dewey Decimal classification", + "2", "National Library of Medicine classification", + "3", "Superintendent of Documents classification", + "4", "Shelving control number", + "5", "Title", + "6", "Shelved separately", + "7", "Source specified in subfield $2", + "8", "Other scheme" + ) + .setMqTag("shelvingScheme"); + + + ind2 = new Indicator("Shelving order") + .setCodes( + " ", "No information provided", + "0", "Not enumeration", + "1", "Primary enumeration", + "2", "Alternative enumeration" + ) + .setMqTag("shelvingOrder"); setSubfieldsWithCardinality( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java index 79251f8e0..df7e2bad6 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java @@ -1,5 +1,7 @@ package de.gwdg.metadataqa.marc.definition.tags.hbztags; +import org.apache.hadoop.shaded.org.jline.builtins.telnet.Telnet; + import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; import de.gwdg.metadataqa.marc.definition.structure.Indicator; @@ -30,8 +32,30 @@ private void initialize() { cardinality = Cardinality.Repeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; - ind1 = new Indicator(); - ind2 = new Indicator(); + ind1 = new Indicator("Access method") + .setCodes( + " ", "No information provided", + "0", "Email", + "1", "FTP", + "2", "Remote login (Telnet)", + "3", "Dial-up", + "4", "HTTP", + "7", "Method specified in subfield $2" + ) + .setMqTag("accessMethod"); + + + ind2 = new Indicator("Relationship") + .setCodes( + " ", "No information provided", + "0", "Resource", + "1", "Version of resource", + "2", "Related resource", + "3", "Component part(s) of resource", + "4", "Version of component part(s) of resource", + "8", "No display constant generated" + ) + .setMqTag("relationship"); setSubfieldsWithCardinality( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java index b4ede8ecb..7f24fddd9 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java @@ -31,8 +31,20 @@ private void initialize() { cardinality = Cardinality.Repeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; - ind1 = new Indicator(); - ind2 = new Indicator(); + ind1 = new Indicator("Gruppe") + .setCodes( + "0", "Beginngruppe", + "1", "Endgruppe" + ) + .setMqTag("gruppe"); + + + ind2 = new Indicator("Bestand") + .setCodes( + "0", "abgeschlossener Bestand", + "1", "laufender Bestand" + ) + .setMqTag("bestand"); setSubfieldsWithCardinality( "8", "Sortierhilfe", "NR", diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java index a1382438f..27cf2f8a4 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java @@ -31,8 +31,20 @@ private void initialize() { cardinality = Cardinality.Repeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; - ind1 = new Indicator(); - ind2 = new Indicator(); + ind1 = new Indicator("Gruppe") + .setCodes( + "0", "Beginngruppe", + "1", "Endgruppe" + ) + .setMqTag("gruppe"); + + + ind2 = new Indicator("Status") + .setCodes( + "0", "abgeschlossen", + "1", "laufend" + ) + .setMqTag("status"); setSubfieldsWithCardinality( "8", "Sortierhilfe ", "NR", diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH83.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH83.java index 49a6e3d0f..470fcfad5 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH83.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH83.java @@ -30,7 +30,13 @@ private void initialize() { cardinality = Cardinality.Repeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; - ind1 = new Indicator(); + ind1 = new Indicator("Privacy") + .setCodes( + " ", "No information provided", + "0", "Private", + "1", "Not Private" + ) + .setMqTag("privacy"); ind2 = new Indicator(); setSubfieldsWithCardinality( From 43796aa99ab5f40a95989de767786a28ac44145f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Tue, 27 Aug 2024 17:41:29 +0200 Subject: [PATCH 26/54] Update tests --- .../metadataqa/marc/utils/DataElementsStaticticsTest.java | 2 +- .../java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java index 21086235f..b6ec70da0 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java @@ -16,7 +16,7 @@ public void testStatistics() { assertEquals( 184, statistics.get(DataElementType.coreIndicators)); assertEquals(2667, statistics.get(DataElementType.coreSubfields)); assertEquals( 265, statistics.get(DataElementType.localFields)); - assertEquals( 30, statistics.get(DataElementType.localIndicators)); + assertEquals( 47, statistics.get(DataElementType.localIndicators)); assertEquals(2024, statistics.get(DataElementType.localSubfields)); assertEquals(5616, statistics.total()); } diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java index f8cd0059f..a2567bea7 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java @@ -118,8 +118,8 @@ public void testListTag() { assertEquals( 12, (int) versionCounter2.get(MarcVersion.OGYK)); assertEquals( 12, (int) versionCounter.get("ogyktags")); - assertEquals( 36, (int) versionCounter2.get(MarcVersion.HBZ)); - assertEquals( 36, (int) versionCounter.get("hbztags")); + assertEquals( 37, (int) versionCounter2.get(MarcVersion.HBZ)); + assertEquals( 37, (int) versionCounter.get("hbztags")); assertEquals(229, (int) versionCounter2.get(MarcVersion.MARC21)); assertEquals( 2, (int) versionCounter.get("holdings")); From 6844b645eb359d168fa2dda61b78aed74ed3bb21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Tue, 27 Aug 2024 17:50:14 +0200 Subject: [PATCH 27/54] Update tests --- .../metadataqa/marc/utils/DataElementsStaticticsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java index b6ec70da0..de4236b98 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java @@ -17,7 +17,7 @@ public void testStatistics() { assertEquals(2667, statistics.get(DataElementType.coreSubfields)); assertEquals( 265, statistics.get(DataElementType.localFields)); assertEquals( 47, statistics.get(DataElementType.localIndicators)); - assertEquals(2024, statistics.get(DataElementType.localSubfields)); - assertEquals(5616, statistics.total()); + assertEquals(2204, statistics.get(DataElementType.localSubfields)); + assertEquals(5816, statistics.total()); } } \ No newline at end of file From 26db3e931381c6947fe7c9536e78b9f8eaaa5057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Tue, 27 Aug 2024 17:57:48 +0200 Subject: [PATCH 28/54] Update tests --- .../gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java index de4236b98..6c5a4b41f 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java @@ -18,6 +18,6 @@ public void testStatistics() { assertEquals( 265, statistics.get(DataElementType.localFields)); assertEquals( 47, statistics.get(DataElementType.localIndicators)); assertEquals(2204, statistics.get(DataElementType.localSubfields)); - assertEquals(5816, statistics.total()); + assertEquals(5814, statistics.total()); } } \ No newline at end of file From 854371f3eefdd263cfe797fb2f91c361e0f22fac Mon Sep 17 00:00:00 2001 From: Phu Tu Date: Wed, 28 Aug 2024 09:19:16 +0200 Subject: [PATCH 29/54] Update marcVersion in hbz catalogue --- web-classes/catalogue/Hbz.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-classes/catalogue/Hbz.php b/web-classes/catalogue/Hbz.php index 8445c1419..b9974fa5a 100644 --- a/web-classes/catalogue/Hbz.php +++ b/web-classes/catalogue/Hbz.php @@ -4,6 +4,6 @@ class Hbz extends Catalogue { protected $name = 'hbz'; protected $label = 'hbz Verbunddaten Basedump vom 10.08.2024'; protected $url = 'https://example.com/'; - protected $marcVersion = 'ZB'; + protected $marcVersion = 'HBZ'; protected $linkTemplate = 'http://example.com/{id}'; } From d00a10a3cf291475b05fffeb9ca56440eed7d39b Mon Sep 17 00:00:00 2001 From: Phu Tu Date: Wed, 28 Aug 2024 09:20:19 +0200 Subject: [PATCH 30/54] Add hbz-update catalogue --- catalogues/hbz-update.sh | 21 +++++++++++++++++++++ web-classes/catalogue/Hbz_update.php | 9 +++++++++ web-config/configuration.cnf.hbz-update | 3 +++ 3 files changed, 33 insertions(+) create mode 100755 catalogues/hbz-update.sh create mode 100644 web-classes/catalogue/Hbz_update.php create mode 100644 web-config/configuration.cnf.hbz-update diff --git a/catalogues/hbz-update.sh b/catalogues/hbz-update.sh new file mode 100755 index 000000000..919e3d036 --- /dev/null +++ b/catalogues/hbz-update.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +. ./setdir.sh + +NAME=hbz-update +TYPE=xml +if [[ $TYPE == "marc" ]]; then + echo "marc" + TYPE_PARAMS="--marcVersion HBZ --fixAlma" + MARC_DIR=${BASE_INPUT_DIR}/${NAME}/marc + MASK=*.mrc +elif [[ $TYPE == "xml" ]]; then + echo "xml" + TYPE_PARAMS="--marcVersion DNB,HBZ --marcxml --fixAlma" + MARC_DIR=${BASE_INPUT_DIR}/${NAME}/marc + MASK=*.gz +else + echo "else: ${TYPE}" +fi + +. ./common-script diff --git a/web-classes/catalogue/Hbz_update.php b/web-classes/catalogue/Hbz_update.php new file mode 100644 index 000000000..63810368e --- /dev/null +++ b/web-classes/catalogue/Hbz_update.php @@ -0,0 +1,9 @@ + Date: Wed, 28 Aug 2024 12:30:24 +0200 Subject: [PATCH 31/54] Delete wrong library imports --- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java | 2 -- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java index 99d80d64a..995d5299b 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH24.java @@ -1,7 +1,5 @@ package de.gwdg.metadataqa.marc.definition.tags.hbztags; -import org.apache.hadoop.shaded.org.apache.commons.net.nntp.Article; - import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; import de.gwdg.metadataqa.marc.definition.structure.Indicator; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java index df7e2bad6..fc1f89ae5 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH56.java @@ -1,7 +1,5 @@ package de.gwdg.metadataqa.marc.definition.tags.hbztags; -import org.apache.hadoop.shaded.org.jline.builtins.telnet.Telnet; - import de.gwdg.metadataqa.marc.definition.Cardinality; import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; import de.gwdg.metadataqa.marc.definition.structure.Indicator; From 2d2f620e765a8b81f4d24bfe4af5af998ea6481e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Wed, 28 Aug 2024 13:14:38 +0200 Subject: [PATCH 32/54] Change tab to space in setSubfieldsWithCardinality --- .../marc/definition/tags/hbztags/Tag960.java | 24 +++++++++---------- .../marc/definition/tags/hbztags/Tag961.java | 2 +- .../marc/definition/tags/hbztags/Tag962.java | 2 +- .../marc/definition/tags/hbztags/Tag964.java | 6 ++--- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java index c9604a7b4..5fc87a351 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java @@ -33,18 +33,18 @@ private void initialize() { ind2 = new Indicator(); setSubfieldsWithCardinality( - "b", "bibliographische Sachverhalte", "R", - "d", "lizenzfreie Online-Dissertationen", "R", - "f", "fremdsprachige Titel", "R", - "i", "Internet-Ressourcen", "R", - "n", "Nordrhein-Westfälische Bibliographie", "R", - "o", "Offline-Datenübernahmen", "R", - "r", "frei definierbare Selektionskennzeichen für Bibliotheken", "R", - "s", "Sammlung E-Paper (DNB-Codierung ep)", "R", - "u", "Lizenzhistorie EBooks:Produktsigel", "R", - "v", "Lizenzhistorie EBooks: Lizenzjahr (NW)", "R", - "w", "Lizenzhistorie EBooks: Datum Aufbau des Feldes Lizenzhistorie Books", "R", - "z", "SelektionskennzeichenZDB", "R" + "b", "bibliographische Sachverhalte", "R", + "d", "lizenzfreie Online-Dissertationen", "R", + "f", "fremdsprachige Titel", "R", + "i", "Internet-Ressourcen", "R", + "n", "Nordrhein-Westfälische Bibliographie", "R", + "o", "Offline-Datenübernahmen", "R", + "r", "frei definierbare Selektionskennzeichen für Bibliotheken", "R", + "s", "Sammlung E-Paper (DNB-Codierung ep)", "R", + "u", "Lizenzhistorie EBooks:Produktsigel", "R", + "v", "Lizenzhistorie EBooks: Lizenzjahr (NW)", "R", + "w", "Lizenzhistorie EBooks: Datum Aufbau des Feldes Lizenzhistorie Books", "R", + "z", "SelektionskennzeichenZDB", "R" ); getSubfield("b").setCodes( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag961.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag961.java index 0e5157f97..41cd41e55 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag961.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag961.java @@ -33,7 +33,7 @@ private void initialize() { ind2 = new Indicator(); setSubfieldsWithCardinality( - "a", "Sonstige Standardnummer", "R" + "a", "Sonstige Standardnummer", "R" ); } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java index a7f3fa8ef..f1d101a2f 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java @@ -33,7 +33,7 @@ private void initialize() { ind2 = new Indicator(); setSubfieldsWithCardinality( - "e", "Selektionskennzeichen EBooks, Digitalisate", "R" + "e", "Selektionskennzeichen EBooks, Digitalisate", "R" ); } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java index 5e67be16b..239b44090 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java @@ -33,9 +33,9 @@ private void initialize() { ind2 = new Indicator(); setSubfieldsWithCardinality( - "A", "A", "R", - "F", "F", "R", - "V", "V", "R" + "A", "A", "R", + "F", "F", "R", + "V", "V", "R" ); } From 4e2ca8a89dce5313d988b5ac136eb45b035bcb57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Wed, 28 Aug 2024 14:14:57 +0200 Subject: [PATCH 33/54] Update and add NZ hbz local fields https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446&src=contextnavpagetreemode --- .../marc/definition/tags/hbztags/Tag029.java | 44 ++++++++++++ .../marc/definition/tags/hbztags/Tag089.java | 67 +++++++++++++++++++ .../marc/definition/tags/hbztags/Tag090.java | 50 ++++++++++++++ .../marc/definition/tags/hbztags/Tag249.java | 47 +++++++++++++ .../marc/definition/tags/hbztags/Tag290.java | 42 ++++++++++++ .../marc/definition/tags/hbztags/Tag591.java | 40 +++++++++++ .../marc/definition/tags/hbztags/Tag912.java | 41 ++++++++++++ .../marc/definition/tags/hbztags/Tag960.java | 6 +- .../marc/definition/tags/hbztags/Tag965.java | 40 +++++++++++ 9 files changed, 376 insertions(+), 1 deletion(-) create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag029.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag089.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag090.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag290.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag965.java diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag029.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag029.java new file mode 100644 index 000000000..850b12987 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag029.java @@ -0,0 +1,44 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Weitere internationale Standardnummer(n) für fortlaufende Sammelwerke (ISSN) + */ +public class Tag029 extends DataFieldDefinition { + + private static Tag029 uniqueInstance; + + private Tag029() { + initialize(); + postCreation(); + } + + public static Tag029 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag029(); + return uniqueInstance; + } + + private void initialize() { + tag = "029"; + label = "Weitere internationale Standardnummer(n) für fortlaufende Sammelwerke (ISSN)"; + mqTag = "WeitereinternationaleStandardnummernfürfortlaufendeSammelwerkeISSN"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Autorisierte ISSN", "NR", + "b", "ISSN der Ausgabe auf Datenträger", "NR", + "c", "ISSN der Internetausgabe", "NR", + "d", "ISSN der Druckausgabe", "NR" + ); + + + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag089.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag089.java new file mode 100644 index 000000000..6759dc15a --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag089.java @@ -0,0 +1,67 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Dewey Decimal Classification Number (analytisch) + */ +public class Tag089 extends DataFieldDefinition { + + private static Tag089 uniqueInstance; + + private Tag089() { + initialize(); + postCreation(); + } + + public static Tag089 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag089(); + return uniqueInstance; + } + + private void initialize() { + tag = "089"; + label = "Dewey Decimal Classification Number (analytisch)"; + mqTag = "DeweyDecimalClassificationNumberAnalytisch"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; + + ind1 = new Indicator("Ausgabe") + .setCodes( + " ", "empty", + "0", "Vollversion", + "1", "Kurzausgabe" + ) + .setMqTag("ausgabe"); + + ind2 = new Indicator("Nicht erstellt von LC") + .setCodes( + " ", "empty", + "4", "Erstellt nicht von LC" + ) + .setMqTag("nichtVonLCERstellt"); + + setSubfieldsWithCardinality( + "a", "Vollständige Notation", "NR", + "b", "Exemplarnummer (Item number)", "NR", + "c", "Grundnotation", "NR", + "d", "Notationen anderer Haupttafeln", "R", + "e", "Angabe der zugrunde liegenden DDC-Ausgabe", "NR", + "f", "Notation aus Hilfstafel 1", "R", + "g", "Notation aus Hilfstafel 2", "R", + "h", "Notation aus Hilfstafel 3A", "R", + "i", "Notation aus Hilfstafel 3B", "R", + "j", "Notation aus Hilfstafel 3C", "R", + "k", "Notation aus Hilfstafel 4", "R", + "l", "Notation aus Hilfstafel 5", "R", + "m", "Notation aus Hilfstafel 6", "R", + "t", "Notation aus einer Anhaengetafel", "R", + "t", "Quelle der vergebenen Notation", "R" + ); + + + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag090.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag090.java new file mode 100644 index 000000000..f003e6752 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag090.java @@ -0,0 +1,50 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Weitere Codierungen + */ +public class Tag090 extends DataFieldDefinition { + + private static Tag090 uniqueInstance; + + private Tag090() { + initialize(); + postCreation(); + } + + public static Tag090 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag090(); + return uniqueInstance; + } + + private void initialize() { + tag = "090"; + label = "Weitere Codierungen"; + mqTag = "WeitereCodierungen"; + cardinality = Cardinality.Nonrepeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Papierzustand", "R", + "b", "Audiovisuelles Medium / Bildliche Darstellung", "R", + "f", "Erscheinungsform", "R", + "g", "Veröffentlichungsart und Inhalt Mono", "R", + "h", "Literaturtyp", "R", + "i", "Angaben zur Freiwilligen Selbstkontrolle der Filmwirtschaft (FSK)", "R", + "n", "Veröffentlichungsart und Inhalt (ZDB)", "R", + "o", "Frühere Erscheinungsform", "R", + "v", "Nachlassmaterialien", "R", + "w", "Authentizitätsgrad", "R" + ); + + + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java new file mode 100644 index 000000000..eb0c07c75 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag249.java @@ -0,0 +1,47 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Weitere Titel etc. bei Zusammenstellungen (Abweichend zur DNB) + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446 + * DNB: http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag249 extends DataFieldDefinition { + + private static Tag249 uniqueInstance; + + private Tag249() { + initialize(); + postCreation(); + } + + public static Tag249 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag249(); + return uniqueInstance; + } + + private void initialize() { + tag = "249"; + label = "Weitere Titel etc. bei Zusammenstellungen"; + mqTag = "WeitereTitel"; + cardinality = Cardinality.Nonrepeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Weiterer Titel bei Zusammenstellungen", "R", + "b", "Titelzusätze zur gesamten Zusammenstellung", "NR", + "c", "Verantwortlichkeitsangabe zur gesamten Zusammenstellung", "NR", + "v", "Verantwortlichkeitsangabe zum weiteren Titel", "R" + ); + + getSubfield("a") + .setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag290.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag290.java new file mode 100644 index 000000000..1427aef7f --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag290.java @@ -0,0 +1,42 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Angabe zum Text der Unterlage + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446 + */ +public class Tag290 extends DataFieldDefinition { + + private static Tag290 uniqueInstance; + + private Tag290() { + initialize(); + postCreation(); + } + + public static Tag290 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag290(); + return uniqueInstance; + } + + private void initialize() { + tag = "290"; + label = "Angabe zum Text der Unterlage"; + mqTag = "angabeZumTextDerUnterlage"; + cardinality = Cardinality.Nonrepeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Incipit der Unterlage", "R", + "b", "Einheitsincipit", "R", + "c", "Ausreifung / Entstehungsstufe", "R" + ) + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java new file mode 100644 index 000000000..16db5b5a1 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java @@ -0,0 +1,40 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Redaktionelle Bemerkungen + */ +public class Tag591 extends DataFieldDefinition { + + private static Tag591 uniqueInstance; + + private Tag591() { + initialize(); + postCreation(); + } + + public static Tag591 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag591(); + return uniqueInstance; + } + + private void initialize() { + tag = "591"; + label = "Redaktionelle Bemerkungen"; + mqTag = "redaktionelleBemerkungen"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Redaktionelle Bemerkungen", "R" + ); + + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java new file mode 100644 index 000000000..577603d94 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java @@ -0,0 +1,41 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Produktsigel + * https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446 + */ +public class Tag912 extends DataFieldDefinition { + + private static Tag912 uniqueInstance; + + private Tag912() { + initialize(); + postCreation(); + } + + public static Tag912 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag912(); + return uniqueInstance; + } + + private void initialize() { + tag = "912"; + label = "Produktsigel"; + mqTag = "produktsigel"; + cardinality = Cardinality.Nonrepeatable; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Kennzeichnungen für Nationallizenzen und digitale Sammlungen", "NR", + "b", "Lizenzjahr", "NR" + ) + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java index 5fc87a351..5030430fc 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java @@ -29,7 +29,11 @@ private void initialize() { cardinality = Cardinality.Repeatable; // descriptionUrl = "https://service-wiki.hbz-nrw.de/nebenbei/cgi/anonymous_display_only.pl?pageId=706314428"; - ind1 = new Indicator(); + ind1 = new Indicator("notDefined") + .setCodes( + "1", "..." + ) + .setMqTag("notDefined"); ind2 = new Indicator(); setSubfieldsWithCardinality( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag965.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag965.java new file mode 100644 index 000000000..8258f0bf6 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag965.java @@ -0,0 +1,40 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Inhaltsverzeichnis URL für Primo + */ +public class Tag965 extends DataFieldDefinition { + + private static Tag965 uniqueInstance; + + private Tag965() { + initialize(); + postCreation(); + } + + public static Tag965 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag965(); + return uniqueInstance; + } + + private void initialize() { + tag = "965"; + label = "Inhaltsverzeichnis URL für Primo"; + mqTag = "inhaltsverzeichnisURLFürPrimo"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=724304028"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "u", "Inhaltsverzeichnis URL für Primo", "R" + ); + + } +} From bbe5120bbc57b6c08252b0fcd0f4e55c5603b9df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Wed, 28 Aug 2024 15:35:57 +0200 Subject: [PATCH 34/54] Add local fields / IZ 980 - 991 https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316 --- .../marc/definition/tags/hbztags/Tag980.java | 58 ++++++++++++++++++ .../marc/definition/tags/hbztags/Tag981.java | 41 +++++++++++++ .../marc/definition/tags/hbztags/Tag982.java | 42 +++++++++++++ .../marc/definition/tags/hbztags/Tag983.java | 44 +++++++++++++ .../marc/definition/tags/hbztags/Tag984.java | 55 +++++++++++++++++ .../marc/definition/tags/hbztags/Tag985.java | 61 +++++++++++++++++++ .../marc/definition/tags/hbztags/Tag986.java | 46 ++++++++++++++ .../marc/definition/tags/hbztags/Tag987.java | 46 ++++++++++++++ .../marc/definition/tags/hbztags/Tag988.java | 38 ++++++++++++ .../marc/definition/tags/hbztags/Tag989.java | 37 +++++++++++ .../marc/definition/tags/hbztags/Tag991.java | 35 +++++++++++ 11 files changed, 503 insertions(+) create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag980.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag983.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag984.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag985.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag986.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag987.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag988.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag989.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag991.java diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag980.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag980.java new file mode 100644 index 000000000..caeef058b --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag980.java @@ -0,0 +1,58 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Selektionskennzeichen IZ + */ +public class Tag980 extends DataFieldDefinition { + + private static Tag980 uniqueInstance; + + private Tag980() { + initialize(); + postCreation(); + } + + public static Tag980 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag980(); + return uniqueInstance; + } + + private void initialize() { + tag = "980"; + label = "Selektionskennzeichen IZ"; + mqTag = "SelektionskennzeichenIZ"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator("undefined") + .setCodes( + "1", "...", + "2", "..." + ) + .setMqTag("undefined"); + + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Abrufzeichen", "R", + "b", "Abrufzeichen, FBB", "R", + "c", "Abrufzeichen, Bearb.", "R", + "d", "Altdaten", "R", + "e", "Abrufzeichen, Herkunft", "R", + "r", "Storniert", "R", + "t", "P2E-Prozess", "NR", + "f", "Abrufzeichen Erwerbungsgruppe", "R", + "g", "Abrufzeichen Publikationsarten", "R", + "h", "Abrufzeichen Schenkungen,Leihgaben", "R", + "s", "Sammlungsvermerke", "R", + "x", "LKR", "R" + ); + + + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java new file mode 100644 index 000000000..bab162062 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java @@ -0,0 +1,41 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Systemnummer alt + */ +public class Tag981 extends DataFieldDefinition { + + private static Tag981 uniqueInstance; + + private Tag981() { + initialize(); + postCreation(); + } + + public static Tag981 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag981(); + return uniqueInstance; + } + + private void initialize() { + tag = "981"; + label = "Systemnummer alt"; + mqTag = "systemnummerAlt"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Systemnummer alt", "NR", + "u", " IDN Exemplar (EPN)", "NR" + ); + + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java new file mode 100644 index 000000000..4fba36fe5 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java @@ -0,0 +1,42 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Lokales Schlagwort + */ +public class Tag982 extends DataFieldDefinition { + + private static Tag982 uniqueInstance; + + private Tag982() { + initialize(); + postCreation(); + } + + public static Tag982 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag982(); + return uniqueInstance; + } + + private void initialize() { + tag = "982"; + label = "Lokales Schlagwort"; + mqTag = "lokalesSchlagwort"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Schlagwort, unaufgegliedert", "R", + "b", "Sachschlagwort", "R", + "c", "Formschlagwort", "R" + ); + + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag983.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag983.java new file mode 100644 index 000000000..846246e74 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag983.java @@ -0,0 +1,44 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Lokale Notation + */ +public class Tag983 extends DataFieldDefinition { + + private static Tag983 uniqueInstance; + + private Tag983() { + initialize(); + postCreation(); + } + + public static Tag983 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag983(); + return uniqueInstance; + } + + private void initialize() { + tag = "983"; + label = "Lokale Notation"; + mqTag = "lokaleNotation"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Notation", "R", + "b", "Notation", "R", + "c", "Notation", "R", + "d", "Beschreibung", "R", + "z", "Herkunft", "NR" + ); + + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag984.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag984.java new file mode 100644 index 000000000..88fbe5e0d --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag984.java @@ -0,0 +1,55 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Provenienzen: Mit dem Exemplar in Beziehung stehende Person/Körperschaft, Sammlungen + */ +public class Tag984 extends DataFieldDefinition { + + private static Tag984 uniqueInstance; + + private Tag984() { + initialize(); + postCreation(); + } + + public static Tag984 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag984(); + return uniqueInstance; + } + + private void initialize() { + tag = "984"; + label = "Provenienzen: Mit dem Exemplar in Beziehung stehende Person/Körperschaft, Sammlungen"; + mqTag = "provenienzenBezugPerson"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator("Typ") + .setCodes( + "1", "Person", + "2", "Körperschaft", + "3", "Sammlungen" + ) + .setMqTag("typ"); + + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Bevorzugter Name", "R", + "b", "Untergeordnete Körperschaft", "R", + "d", "Datumsangaben in Verbindung mit einem Namen", "R", + "e", "Fehlende Beziehungskennzeichnungen", "R", + "g", "Zusatz", "R", + "0", "GND-Nummer", "R", + "4", "Beziehungskennzeichen für Akteure, die mit einem Exemplar in Verbindung stehen", "R", + "8", "Feldverknüpfung und Reihenfolge", "NR" + ); + + + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag985.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag985.java new file mode 100644 index 000000000..1a113b12f --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag985.java @@ -0,0 +1,61 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Provenienzen: Exemplarbeschreibung + */ +public class Tag985 extends DataFieldDefinition { + + private static Tag985 uniqueInstance; + + private Tag985() { + initialize(); + postCreation(); + } + + public static Tag985 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag985(); + return uniqueInstance; + } + + private void initialize() { + tag = "985"; + label = "Provenienzen: Exemplarbeschreibung"; + mqTag = "provenienzenExemplarbeschreibung"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Exemplarspezifische bibliographische Angaben", "R", + "b", "Exemplarhinweise ", "R", + "c", "Erhaltungszustand ", "R", + "d", "Bestandserhaltungsmaßnahmen ", "R", + "e", "Bemerkungen Erhaltungszustand ", "R", + "f", "Signaturvermerk ", "R", + "g", "Standortvermerk (Standort, Collection) ", "R", + "h", "Aufstellungssystematik ", "R", + "i", "Historische Kaufvermerke ", "R", + "j", "Alte Signatur ", "R", + "k", "Akzessionsnummer ", "R", + "l", "Literaturhinweise ", "R", + "m", "Marginalien ", "R", + "n", "Illustrationen/Buchmalerei Schreibstoff/Beschreibstoff, Wasserzeichen ", "R", + "o", "Provenienz Beschreibung ", "R", + "p", "Provenienz unvollständig ", "R", + "q", "Provenienz Referenz ", "R", + "r", "Provenienz Bemerkung ", "R", + "s", "Raubgutkennung SISIS 1311 (ULB Münster)", "R", + "t", "Restitutionsstatus ", "R", + "u", "Scan", "R", + "8", "Feldverknüpfung und Reihenfolge", "NR" + ); + + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag986.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag986.java new file mode 100644 index 000000000..0f846da00 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag986.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; +/** + * Provenienzen: Einband + */ +public class Tag986 extends DataFieldDefinition { + private static Tag986 uniqueInstance; + private Tag986() { + initialize(); + postCreation(); + } + public static Tag986 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag986(); + return uniqueInstance; + } + private void initialize() { + tag = "986"; + label = "Provenienzen: Einband"; + mqTag = "provenienzenEinband"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Einbandtyp", "R", + "b", "Material", "R", + "c", "Abmessung", "R", + "d", "Motive", "R", + "e", "EBDB-ID der Motive", "R", + "f", "Werkstatt", "R", + "g", "EBDB-ID der Werkstatt", "R", + "h", "Monogramm", "R", + "i", "Herstellungsjahr", "R", + "j", "Entstehungsort", "R", + "k", "Referenznummern/Nachweis", "R", + "l", " Bemerkungen ", "R", + "8", "Feldverknüpfung und Reihenfolge", "NR" + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag987.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag987.java new file mode 100644 index 000000000..9429ab8f1 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag987.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Selektionskennzeichen IZ + */ +public class Tag987 extends DataFieldDefinition { + + private static Tag987 uniqueInstance; + + private Tag987() { + initialize(); + postCreation(); + } + + public static Tag987 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag987(); + return uniqueInstance; + } + + private void initialize() { + tag = "987"; + label = "Selektionskennzeichen IZ"; + mqTag = "SelektionskennzeichenIZ"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator("undefined") + .setCodes( + "1", "..." + ) + .setMqTag("undefined"); + + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Mikrocodierungen", "R" + ); + + + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag988.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag988.java new file mode 100644 index 000000000..389fe7d45 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag988.java @@ -0,0 +1,38 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; +/** + * Digitalisierungsangaben + */ +public class Tag988 extends DataFieldDefinition { + private static Tag988 uniqueInstance; + private Tag988() { + initialize(); + postCreation(); + } + public static Tag988 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag988(); + return uniqueInstance; + } + private void initialize() { + tag = "988"; + label = "Digitalisierungsangaben"; + mqTag = "digitalisierungsangaben"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Marginalien", "R", + "b", "Extras Inhalt", "R", + "c", "Allg. Anmerkung", "R", + "u", "URL", "R", + "z", "Anmerkung zur URL", "R" + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag989.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag989.java new file mode 100644 index 000000000..9a08e95c3 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag989.java @@ -0,0 +1,37 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; +/** + * Bemerkung extern + */ +public class Tag989 extends DataFieldDefinition { + private static Tag989 uniqueInstance; + private Tag989() { + initialize(); + postCreation(); + } + public static Tag989 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag989(); + return uniqueInstance; + } + private void initialize() { + tag = "989"; + label = "Bemerkung extern"; + mqTag = "bemerkungExtern"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Bemerkung extern, Annotation", "R", + "p", "Bemerkung extern,NE Personenname", "R", + "t", "Bemerkung extern, NE Titel", "R", + "2", "Herkunft", "R" + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag991.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag991.java new file mode 100644 index 000000000..39040e162 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag991.java @@ -0,0 +1,35 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; +/** + * Bemerkung intern + */ +public class Tag991 extends DataFieldDefinition { + private static Tag991 uniqueInstance; + private Tag991() { + initialize(); + postCreation(); + } + public static Tag991 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag991(); + return uniqueInstance; + } + private void initialize() { + tag = "991"; + label = "Bemerkung intern"; + mqTag = "bemerkungintern"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Bemerkung intern, Ausleihe", "R", + "b", "Bemerkung intern, Sondermaterial", "R" + ); + } +} From 52ad6b208d96e3e5dc2e840c7a2db844128bbf99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 29 Aug 2024 09:40:47 +0200 Subject: [PATCH 35/54] Fix syntax errors --- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag290.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag290.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag290.java index 1427aef7f..3e62fdc82 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag290.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag290.java @@ -37,6 +37,6 @@ private void initialize() { "a", "Incipit der Unterlage", "R", "b", "Einheitsincipit", "R", "c", "Ausreifung / Entstehungsstufe", "R" - ) + ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java index 577603d94..042caf989 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java @@ -36,6 +36,6 @@ private void initialize() { setSubfieldsWithCardinality( "a", "Kennzeichnungen für Nationallizenzen und digitale Sammlungen", "NR", "b", "Lizenzjahr", "NR" - ) + ); } } From b98d4699ab43ef0a3e71c2ac4868969a546c7f52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 29 Aug 2024 10:42:39 +0200 Subject: [PATCH 36/54] Add local fields / IZ 992 - 998 https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316 --- .../marc/definition/tags/hbztags/Tag992.java | 35 ++++++++++++ .../marc/definition/tags/hbztags/Tag993.java | 46 +++++++++++++++ .../marc/definition/tags/hbztags/Tag994.java | 37 ++++++++++++ .../marc/definition/tags/hbztags/Tag995.java | 38 +++++++++++++ .../marc/definition/tags/hbztags/Tag996.java | 57 +++++++++++++++++++ .../marc/definition/tags/hbztags/Tag997.java | 42 ++++++++++++++ .../marc/definition/tags/hbztags/Tag998.java | 49 ++++++++++++++++ 7 files changed, 304 insertions(+) create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag992.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag993.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag994.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag995.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag996.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag997.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag998.java diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag992.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag992.java new file mode 100644 index 000000000..c220a8a09 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag992.java @@ -0,0 +1,35 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; +/** + * Signaturen + */ +public class Tag992 extends DataFieldDefinition { + private static Tag992 uniqueInstance; + private Tag992() { + initialize(); + postCreation(); + } + public static Tag992 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag992(); + return uniqueInstance; + } + private void initialize() { + tag = "992"; + label = "Signaturen"; + mqTag = "Signaturen"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Signaturen", "R", + "b", "Herkunft", "NR" + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag993.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag993.java new file mode 100644 index 000000000..238dd8222 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag993.java @@ -0,0 +1,46 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Deskriptor + */ +public class Tag993 extends DataFieldDefinition { + + private static Tag993 uniqueInstance; + + private Tag993() { + initialize(); + postCreation(); + } + + public static Tag993 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag993(); + return uniqueInstance; + } + + private void initialize() { + tag = "993"; + label = "Deskriptor"; + mqTag = "Deskriptor"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator("undefined") + .setCodes( + "0", "..." + ) + .setMqTag("undefined"); + + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Deskriptor", "R" + ); + + + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag994.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag994.java new file mode 100644 index 000000000..e355f10b9 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag994.java @@ -0,0 +1,37 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; +/** + * Aufnahmeinformation + */ +public class Tag994 extends DataFieldDefinition { + private static Tag994 uniqueInstance; + private Tag994() { + initialize(); + postCreation(); + } + public static Tag994 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag994(); + return uniqueInstance; + } + private void initialize() { + tag = "994"; + label = "Aufnahmeinformation"; + mqTag = "Aufnahmeinformation"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Aufnahmeland", "R", + "b", "Sendeanstalt", "NR", + "c", "Sendedatum", "NR", + "d", "Bandposition", "NR" + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag995.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag995.java new file mode 100644 index 000000000..dcc802c5e --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag995.java @@ -0,0 +1,38 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; +/** + * Bestellangaben + */ +public class Tag995 extends DataFieldDefinition { + private static Tag995 uniqueInstance; + private Tag995() { + initialize(); + postCreation(); + } + public static Tag995 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag995(); + return uniqueInstance; + } + private void initialize() { + tag = "995"; + label = "Bestellangaben"; + mqTag = "Bestellangaben"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Bestellangaben", "R", + "b", "Storniert", "R", + "c", "Bearbeitungsvermerk Dissertationen", "R", + "d", "Standorte", "R", + "2", "Herkunft", "NR" + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag996.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag996.java new file mode 100644 index 000000000..40d944ff2 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag996.java @@ -0,0 +1,57 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; +/** + * IDX + */ +public class Tag996 extends DataFieldDefinition { + private static Tag996 uniqueInstance; + private Tag996() { + initialize(); + postCreation(); + } + public static Tag996 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag996(); + return uniqueInstance; + } + private void initialize() { + tag = "996"; + label = "IDX"; + mqTag = "IDX"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "a", "R", + "b", "b", "R", + "c", "c", "R", + "d", "d", "R", + "e", "e", "R", + "f", "f", "R", + "g", "g", "R", + "h", "h", "R", + "k", "k", "R", + "l", "l", "R", + "m", "m", "R", + "n", "n", "R", + "o", "o", "R", + "p", "p", "R", + "r", "r", "R", + "s", "s", "R", + "t", "t", "R", + "u", "u", "R", + "v", "v", "R", + "x", "x", "R", + "z", "z", "R", + "H", "H", "R", + "0", "0", "R" + + ); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag997.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag997.java new file mode 100644 index 000000000..0d7ea6b88 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag997.java @@ -0,0 +1,42 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Aufnahmedatum, Aufnahmejahr + */ +public class Tag997 extends DataFieldDefinition { + + private static Tag997 uniqueInstance; + + private Tag997() { + initialize(); + postCreation(); + } + + public static Tag997 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag997(); + return uniqueInstance; + } + + private void initialize() { + tag = "997"; + label = "Aufnahmedatum, Aufnahmejahr"; + mqTag = "AufnahmedatumAufnahmejahr"; + cardinality = Cardinality.Nonrepeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Aufnahmedatum, Aufnahmejahr", "R" + ); + + //TODO: Field a needs to be YYYYMMDD + + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag998.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag998.java new file mode 100644 index 000000000..eae84e08c --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag998.java @@ -0,0 +1,49 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Lokale URL + */ +public class Tag998 extends DataFieldDefinition { + + private static Tag998 uniqueInstance; + + private Tag998() { + initialize(); + postCreation(); + } + + public static Tag998 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag998(); + return uniqueInstance; + } + + private void initialize() { + tag = "998"; + label = "Lokale URL"; + mqTag = "LokaleURL"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + + ind1 = new Indicator("undefined") + .setCodes( + " ", "...", + "4", "4" + ) + .setMqTag("undefined"); + + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "URL aus 856 (Titel)", "R", + "z", "Access Note", "NR", + "u", "Lokale URL", "NR" + ); + + + } +} From 324d1f7958c121e8d234f814471c8873020c7c28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 29 Aug 2024 10:47:04 +0200 Subject: [PATCH 37/54] Update tests --- .../gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java | 2 +- .../java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java index 6c5a4b41f..40ffe457c 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java @@ -15,7 +15,7 @@ public void testStatistics() { assertEquals( 229, statistics.get(DataElementType.coreFields)); assertEquals( 184, statistics.get(DataElementType.coreIndicators)); assertEquals(2667, statistics.get(DataElementType.coreSubfields)); - assertEquals( 265, statistics.get(DataElementType.localFields)); + assertEquals( 291, statistics.get(DataElementType.localFields)); assertEquals( 47, statistics.get(DataElementType.localIndicators)); assertEquals(2204, statistics.get(DataElementType.localSubfields)); assertEquals(5814, statistics.total()); diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java index a2567bea7..b5a9c205b 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java @@ -28,7 +28,7 @@ public void testListTag() { List> tags = MarcTagLister.listTags(); assertNotNull(tags); assertNotEquals(0, tags.size()); - assertEquals(494, tags.size()); + assertEquals(520, tags.size()); assertEquals("Tag010", tags.get(0).getSimpleName()); Map versionCounter = new HashMap<>(); Map versionCounter2 = new HashMap<>(); From edf1336aecf792fba340272b074d320ee4c5161f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 29 Aug 2024 11:09:46 +0200 Subject: [PATCH 38/54] Upcase mqTag's --- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag290.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag965.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag983.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag984.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag985.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag986.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag988.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag989.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag991.java | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag290.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag290.java index 3e62fdc82..14e6fd9d0 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag290.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag290.java @@ -26,7 +26,7 @@ public static Tag290 getInstance() { private void initialize() { tag = "290"; label = "Angabe zum Text der Unterlage"; - mqTag = "angabeZumTextDerUnterlage"; + mqTag = "AngabeZumTextDerUnterlage"; cardinality = Cardinality.Nonrepeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java index 16db5b5a1..827a212af 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java @@ -25,7 +25,7 @@ public static Tag591 getInstance() { private void initialize() { tag = "591"; label = "Redaktionelle Bemerkungen"; - mqTag = "redaktionelleBemerkungen"; + mqTag = "RedaktionelleBemerkungen"; cardinality = Cardinality.Repeatable; // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java index 042caf989..fefdd514d 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java @@ -26,7 +26,7 @@ public static Tag912 getInstance() { private void initialize() { tag = "912"; label = "Produktsigel"; - mqTag = "produktsigel"; + mqTag = "Produktsigel"; cardinality = Cardinality.Nonrepeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag965.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag965.java index 8258f0bf6..b52e813ed 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag965.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag965.java @@ -25,7 +25,7 @@ public static Tag965 getInstance() { private void initialize() { tag = "965"; label = "Inhaltsverzeichnis URL für Primo"; - mqTag = "inhaltsverzeichnisURLFürPrimo"; + mqTag = "InhaltsverzeichnisURLFürPrimo"; cardinality = Cardinality.Repeatable; // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=724304028"; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java index bab162062..ae78531ad 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java @@ -25,7 +25,7 @@ public static Tag981 getInstance() { private void initialize() { tag = "981"; label = "Systemnummer alt"; - mqTag = "systemnummerAlt"; + mqTag = "SystemnummerAlt"; cardinality = Cardinality.Repeatable; // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java index 4fba36fe5..51f74c590 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java @@ -25,7 +25,7 @@ public static Tag982 getInstance() { private void initialize() { tag = "982"; label = "Lokales Schlagwort"; - mqTag = "lokalesSchlagwort"; + mqTag = "LokalesSchlagwort"; cardinality = Cardinality.Repeatable; // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag983.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag983.java index 846246e74..84ad0c773 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag983.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag983.java @@ -25,7 +25,7 @@ public static Tag983 getInstance() { private void initialize() { tag = "983"; label = "Lokale Notation"; - mqTag = "lokaleNotation"; + mqTag = "LokaleNotation"; cardinality = Cardinality.Repeatable; // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag984.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag984.java index 88fbe5e0d..94ea7957b 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag984.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag984.java @@ -25,7 +25,7 @@ public static Tag984 getInstance() { private void initialize() { tag = "984"; label = "Provenienzen: Mit dem Exemplar in Beziehung stehende Person/Körperschaft, Sammlungen"; - mqTag = "provenienzenBezugPerson"; + mqTag = "ProvenienzenBezugPerson"; cardinality = Cardinality.Repeatable; // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag985.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag985.java index 1a113b12f..fa95e2a2b 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag985.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag985.java @@ -25,7 +25,7 @@ public static Tag985 getInstance() { private void initialize() { tag = "985"; label = "Provenienzen: Exemplarbeschreibung"; - mqTag = "provenienzenExemplarbeschreibung"; + mqTag = "ProvenienzenExemplarbeschreibung"; cardinality = Cardinality.Repeatable; // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag986.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag986.java index 0f846da00..a7a11e2f9 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag986.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag986.java @@ -20,7 +20,7 @@ public static Tag986 getInstance() { private void initialize() { tag = "986"; label = "Provenienzen: Einband"; - mqTag = "provenienzenEinband"; + mqTag = "ProvenienzenEinband"; cardinality = Cardinality.Repeatable; // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag988.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag988.java index 389fe7d45..2ffc528e0 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag988.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag988.java @@ -20,7 +20,7 @@ public static Tag988 getInstance() { private void initialize() { tag = "988"; label = "Digitalisierungsangaben"; - mqTag = "digitalisierungsangaben"; + mqTag = "Digitalisierungsangaben"; cardinality = Cardinality.Repeatable; // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag989.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag989.java index 9a08e95c3..511616712 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag989.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag989.java @@ -20,7 +20,7 @@ public static Tag989 getInstance() { private void initialize() { tag = "989"; label = "Bemerkung extern"; - mqTag = "bemerkungExtern"; + mqTag = "BemerkungExtern"; cardinality = Cardinality.Repeatable; // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag991.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag991.java index 39040e162..777989c3b 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag991.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag991.java @@ -20,7 +20,7 @@ public static Tag991 getInstance() { private void initialize() { tag = "991"; label = "Bemerkung intern"; - mqTag = "bemerkungintern"; + mqTag = "Bemerkungintern"; cardinality = Cardinality.Repeatable; // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; From d9454bf01e36ad69a9c969bf673950e67411b25b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 29 Aug 2024 11:10:02 +0200 Subject: [PATCH 39/54] Update tests --- .../gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java index 40ffe457c..163bb0f47 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java @@ -16,7 +16,7 @@ public void testStatistics() { assertEquals( 184, statistics.get(DataElementType.coreIndicators)); assertEquals(2667, statistics.get(DataElementType.coreSubfields)); assertEquals( 291, statistics.get(DataElementType.localFields)); - assertEquals( 47, statistics.get(DataElementType.localIndicators)); + assertEquals( 55, statistics.get(DataElementType.localIndicators)); assertEquals(2204, statistics.get(DataElementType.localSubfields)); assertEquals(5814, statistics.total()); } From da9e4110ccd18cb3987d414388117da206835369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 29 Aug 2024 11:26:14 +0200 Subject: [PATCH 40/54] Update tests --- .../metadataqa/marc/utils/DataElementsStaticticsTest.java | 4 ++-- .../java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java index 163bb0f47..7c05d5c96 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java @@ -17,7 +17,7 @@ public void testStatistics() { assertEquals(2667, statistics.get(DataElementType.coreSubfields)); assertEquals( 291, statistics.get(DataElementType.localFields)); assertEquals( 55, statistics.get(DataElementType.localIndicators)); - assertEquals(2204, statistics.get(DataElementType.localSubfields)); - assertEquals(5814, statistics.total()); + assertEquals(2360, statistics.get(DataElementType.localSubfields)); + assertEquals(6004, statistics.total()); } } \ No newline at end of file diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java index b5a9c205b..53f749eaa 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java @@ -118,8 +118,8 @@ public void testListTag() { assertEquals( 12, (int) versionCounter2.get(MarcVersion.OGYK)); assertEquals( 12, (int) versionCounter.get("ogyktags")); - assertEquals( 37, (int) versionCounter2.get(MarcVersion.HBZ)); - assertEquals( 37, (int) versionCounter.get("hbztags")); + assertEquals( 63, (int) versionCounter2.get(MarcVersion.HBZ)); + assertEquals( 63, (int) versionCounter.get("hbztags")); assertEquals(229, (int) versionCounter2.get(MarcVersion.MARC21)); assertEquals( 2, (int) versionCounter.get("holdings")); From 3a16a6a1ef9c5f778a474313c73208e8ad2dd30e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 29 Aug 2024 15:41:31 +0200 Subject: [PATCH 41/54] Delete outcommenting of descriptionUrl --- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag029.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag089.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag090.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag961.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag965.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag980.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag983.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag984.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag985.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag986.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag987.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag988.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag989.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag991.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag992.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag993.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag994.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag995.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag996.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag997.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag998.java | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag029.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag029.java index 850b12987..a2e1a8b93 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag029.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag029.java @@ -27,7 +27,7 @@ private void initialize() { label = "Weitere internationale Standardnummer(n) für fortlaufende Sammelwerke (ISSN)"; mqTag = "WeitereinternationaleStandardnummernfürfortlaufendeSammelwerkeISSN"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag089.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag089.java index 6759dc15a..bbb8060e5 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag089.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag089.java @@ -27,7 +27,7 @@ private void initialize() { label = "Dewey Decimal Classification Number (analytisch)"; mqTag = "DeweyDecimalClassificationNumberAnalytisch"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; ind1 = new Indicator("Ausgabe") .setCodes( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag090.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag090.java index f003e6752..3e439d115 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag090.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag090.java @@ -27,7 +27,7 @@ private void initialize() { label = "Weitere Codierungen"; mqTag = "WeitereCodierungen"; cardinality = Cardinality.Nonrepeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java index 827a212af..57fad1af0 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag591.java @@ -27,7 +27,7 @@ private void initialize() { label = "Redaktionelle Bemerkungen"; mqTag = "RedaktionelleBemerkungen"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java index 5030430fc..786a54112 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java @@ -27,7 +27,7 @@ private void initialize() { label = "Selektionskennzeichen NZ"; mqTag = "SelektionskennzeichenNZ"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/nebenbei/cgi/anonymous_display_only.pl?pageId=706314428"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/nebenbei/cgi/anonymous_display_only.pl?pageId=706314428"; ind1 = new Indicator("notDefined") .setCodes( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag961.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag961.java index 41cd41e55..ccfb48c08 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag961.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag961.java @@ -27,7 +27,7 @@ private void initialize() { label = "Sonstige Standardnummer"; mqTag = "SonstigeStandardnummer"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/nebenbei/cgi/anonymous_display_only.pl?pageId=717357250"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/nebenbei/cgi/anonymous_display_only.pl?pageId=717357250"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java index f1d101a2f..a820e0284 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java @@ -27,7 +27,7 @@ private void initialize() { label = "Selektionskennzeichen EBooks, Digitalisate"; mqTag = "SelektionskennzeichenEBooksDigitalisate"; cardinality = Cardinality.Nonrepeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/display/VDBE/962+-+Selektionskennzeichen+EBooks%2C+Digitalisate"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/display/VDBE/962+-+Selektionskennzeichen+EBooks%2C+Digitalisate"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java index 239b44090..5d5a0045f 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java @@ -27,7 +27,7 @@ private void initialize() { label = "In Aleph benötigte Informationen (Wickelfeld)"; mqTag = "InAlephbenötigteInformationenWickelfeld"; cardinality = Cardinality.Nonrepeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=724304028"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=724304028"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag965.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag965.java index b52e813ed..5dc37e60f 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag965.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag965.java @@ -27,7 +27,7 @@ private void initialize() { label = "Inhaltsverzeichnis URL für Primo"; mqTag = "InhaltsverzeichnisURLFürPrimo"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=724304028"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=724304028"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag980.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag980.java index caeef058b..03c0b8ab5 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag980.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag980.java @@ -27,7 +27,7 @@ private void initialize() { label = "Selektionskennzeichen IZ"; mqTag = "SelektionskennzeichenIZ"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator("undefined") .setCodes( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java index ae78531ad..49b4ff9f4 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java @@ -27,7 +27,7 @@ private void initialize() { label = "Systemnummer alt"; mqTag = "SystemnummerAlt"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java index 51f74c590..610b502db 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java @@ -27,7 +27,7 @@ private void initialize() { label = "Lokales Schlagwort"; mqTag = "LokalesSchlagwort"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag983.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag983.java index 84ad0c773..1757dddb2 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag983.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag983.java @@ -27,7 +27,7 @@ private void initialize() { label = "Lokale Notation"; mqTag = "LokaleNotation"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag984.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag984.java index 94ea7957b..370c74999 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag984.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag984.java @@ -27,7 +27,7 @@ private void initialize() { label = "Provenienzen: Mit dem Exemplar in Beziehung stehende Person/Körperschaft, Sammlungen"; mqTag = "ProvenienzenBezugPerson"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator("Typ") .setCodes( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag985.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag985.java index fa95e2a2b..cf7e480f5 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag985.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag985.java @@ -27,7 +27,7 @@ private void initialize() { label = "Provenienzen: Exemplarbeschreibung"; mqTag = "ProvenienzenExemplarbeschreibung"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag986.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag986.java index a7a11e2f9..01452a846 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag986.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag986.java @@ -22,7 +22,7 @@ private void initialize() { label = "Provenienzen: Einband"; mqTag = "ProvenienzenEinband"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag987.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag987.java index 9429ab8f1..85cc4a7d9 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag987.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag987.java @@ -27,7 +27,7 @@ private void initialize() { label = "Selektionskennzeichen IZ"; mqTag = "SelektionskennzeichenIZ"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator("undefined") .setCodes( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag988.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag988.java index 2ffc528e0..e7a05589f 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag988.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag988.java @@ -22,7 +22,7 @@ private void initialize() { label = "Digitalisierungsangaben"; mqTag = "Digitalisierungsangaben"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag989.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag989.java index 511616712..a7fad3692 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag989.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag989.java @@ -22,7 +22,7 @@ private void initialize() { label = "Bemerkung extern"; mqTag = "BemerkungExtern"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag991.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag991.java index 777989c3b..952401f34 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag991.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag991.java @@ -22,7 +22,7 @@ private void initialize() { label = "Bemerkung intern"; mqTag = "Bemerkungintern"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag992.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag992.java index c220a8a09..8d0fed92f 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag992.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag992.java @@ -22,7 +22,7 @@ private void initialize() { label = "Signaturen"; mqTag = "Signaturen"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag993.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag993.java index 238dd8222..41d781e05 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag993.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag993.java @@ -27,7 +27,7 @@ private void initialize() { label = "Deskriptor"; mqTag = "Deskriptor"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator("undefined") .setCodes( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag994.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag994.java index e355f10b9..72fe4f700 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag994.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag994.java @@ -22,7 +22,7 @@ private void initialize() { label = "Aufnahmeinformation"; mqTag = "Aufnahmeinformation"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag995.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag995.java index dcc802c5e..168ce41a3 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag995.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag995.java @@ -22,7 +22,7 @@ private void initialize() { label = "Bestellangaben"; mqTag = "Bestellangaben"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag996.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag996.java index 40d944ff2..98dde1c71 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag996.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag996.java @@ -22,7 +22,7 @@ private void initialize() { label = "IDX"; mqTag = "IDX"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag997.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag997.java index 0d7ea6b88..03d10cd4f 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag997.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag997.java @@ -27,7 +27,7 @@ private void initialize() { label = "Aufnahmedatum, Aufnahmejahr"; mqTag = "AufnahmedatumAufnahmejahr"; cardinality = Cardinality.Nonrepeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator(); ind2 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag998.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag998.java index eae84e08c..64e874ff5 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag998.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag998.java @@ -27,7 +27,7 @@ private void initialize() { label = "Lokale URL"; mqTag = "LokaleURL"; cardinality = Cardinality.Repeatable; - // descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; + descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=518750316"; ind1 = new Indicator("undefined") .setCodes( From 164031dd2581d951577e59446f69b250aabad518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 29 Aug 2024 16:26:39 +0200 Subject: [PATCH 42/54] Add $8 to HOL and HXX elements It linkes the HXX elements together via ALMA MMS ID. --- .../gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java | 3 ++- .../gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java | 3 ++- .../gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java | 3 ++- .../gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java | 3 ++- .../gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java | 3 ++- .../gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java | 3 ++- .../gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java | 3 ++- .../gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java | 3 ++- 8 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java index 7f24fddd9..137ea78d6 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java @@ -49,7 +49,8 @@ private void initialize() { setSubfieldsWithCardinality( "8", "Sortierhilfe", "NR", "a", "Bandzählung", "NR", - "i", "Berichtsjahr", "NR" + "i", "Berichtsjahr", "NR", + "8", "ALMA MMS ID linking HOL to HXX elements" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java index 27cf2f8a4..3d0b56b4e 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java @@ -54,7 +54,8 @@ private void initialize() { "b", "Heftzählung", "NR", "j", "Monatszählung", "NR", "k", "Tageszählung", "NR", - "i", "Jahreszählung", "NR" + "i", "Jahreszählung", "NR", + "8", "ALMA MMS ID linking HOL to HXX elements" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java index 9d7e4eb8f..dfaeeb65d 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java @@ -46,7 +46,8 @@ private void initialize() { "u", "SSG-Nummer und/oder Angaben zur DFG-Förderung", "NR", "w", "SSG-Notation", "R", "y", "ZDB-Prioritätszahl", "R", - "z", "Finanzierungsart", "NR" + "z", "Finanzierungsart", "NR", + "8", "ALMA MMS ID linking HOL to HXX elements" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java index 1876ecf99..3384f1e1f 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java @@ -43,7 +43,8 @@ private void initialize() { "e", "Angaben zum Dokumenttyp", "NR", "f", "Angaben zum Lizenztyp", "NR", "g", "Angaben zum Preistyp", "NR", - "h", "Kommentar zu Dokument-, Lizenz- und Preistyp", "NR" + "h", "Kommentar zu Dokument-, Lizenz- und Preistyp", "NR", + "8", "ALMA MMS ID linking HOL to HXX elements" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java index faf933c54..2f7da33f7 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java @@ -36,7 +36,8 @@ private void initialize() { setSubfieldsWithCardinality( - "a", "Notation", "R" + "a", "Notation", "R", + "8", "ALMA MMS ID linking HOL to HXX elements" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java index 7edd0259d..a3b6bb6ac 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java @@ -39,7 +39,8 @@ private void initialize() { "b", "...", "R", "9", "...", "R", "x", "...", "R", - "v", "...", "R" + "v", "...", "R", + "8", "ALMA MMS ID linking HOL to HXX elements" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java index 88c99d936..8af6b7deb 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java @@ -49,7 +49,8 @@ private void initialize() { "p", "Provenienz", "R", "q", "Raubgutkennung (CV-Liste verfügbar)", "NR", "r", "Restitutionsstatus (CV-Liste verfügbar)", "NR", - "s", "Alte Signatur", "R" + "s", "Alte Signatur", "R", + "8", "ALMA MMS ID linking HOL to HXX elements" ); } } \ No newline at end of file diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java index 6f6322dab..bfd64f106 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java @@ -41,7 +41,8 @@ private void initialize() { "e", "Library name subfield", "R", "f", "Location name subfield", "R", "g", "Suppress from publishing subfield", "R", - "M", "Member code subfield", "R" + "M", "Member code subfield", "R", + "8", "ALMA MMS ID linking HOL to HXX elements" ); } } From fcaa7ad5935f0e156b442ba4399dc06678c41091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 29 Aug 2024 16:26:57 +0200 Subject: [PATCH 43/54] Adjust Cardinality --- .../marc/definition/tags/hbztags/Tag912.java | 2 +- .../marc/definition/tags/hbztags/Tag962.java | 2 +- .../marc/definition/tags/hbztags/Tag964.java | 15 ++++++++++++--- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java index fefdd514d..c9932a852 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag912.java @@ -27,7 +27,7 @@ private void initialize() { tag = "912"; label = "Produktsigel"; mqTag = "Produktsigel"; - cardinality = Cardinality.Nonrepeatable; + cardinality = Cardinality.Repeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=525369446"; ind1 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java index a820e0284..693ae2cb9 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag962.java @@ -26,7 +26,7 @@ private void initialize() { tag = "962"; label = "Selektionskennzeichen EBooks, Digitalisate"; mqTag = "SelektionskennzeichenEBooksDigitalisate"; - cardinality = Cardinality.Nonrepeatable; + cardinality = Cardinality.Repeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/display/VDBE/962+-+Selektionskennzeichen+EBooks%2C+Digitalisate"; ind1 = new Indicator(); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java index 5d5a0045f..8bc90ab34 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java @@ -26,11 +26,20 @@ private void initialize() { tag = "964"; label = "In Aleph benötigte Informationen (Wickelfeld)"; mqTag = "InAlephbenötigteInformationenWickelfeld"; - cardinality = Cardinality.Nonrepeatable; + cardinality = Cardinality.Repeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=724304028"; - ind1 = new Indicator(); - ind2 = new Indicator(); + ind1 = new Indicator(); ind1 = new Indicator("undefined") + .setCodes( + "0", "..." + ) + .setMqTag("undefined"); + ind2 = new Indicator("undefined") + .setCodes( + "s", "...", + "u", "..." + ) + .setMqTag("undefined"); setSubfieldsWithCardinality( "A", "A", "R", From f9c064eb0fd26e2b4338975c3d44f717081f4c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 29 Aug 2024 16:31:51 +0200 Subject: [PATCH 44/54] Add $8 to POR --- .../gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java index ee6da5206..0e3fabec8 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java @@ -63,7 +63,8 @@ private void initialize() { "D", "Direct Link subfield", "R", "M", "Member code subfield", "R", "A", "Available for Institution subfield", "R", - "S", "Service ID subfield", "R" + "S", "Service ID subfield", "R", + "8", "ALMA MMS ID linking POR" ); } From f367430725da39e405d8649ae66ee77cb4b5a816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 29 Aug 2024 16:37:38 +0200 Subject: [PATCH 45/54] Add indicators for H66 --- .../marc/definition/tags/hbztags/TagH66.java | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH66.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH66.java index 1105db8b8..842fb9c65 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH66.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH66.java @@ -30,8 +30,25 @@ private void initialize() { cardinality = Cardinality.Repeatable; descriptionUrl = "https://service-wiki.hbz-nrw.de/pages/viewpage.action?pageId=949911658"; - ind1 = new Indicator(); - ind2 = new Indicator(); + ind1 = new Indicator("Field encoding level") + .setCodes( + " ", "No information provided", + "3", "Holdings level 3", + "4", "Holdings level 4", + "5", "Holdings level 4 with piece designation" + ) + .setMqTag("FieldEncodingLevel"); + + + ind2 = new Indicator("Type of notation") + .setCodes( + "0", "Non-standard", + "1", "ANSI/NISO Z39.71 or ISO 10324", + "2", "ANSI Z39.42", + "7", "Source specified in subfield $2 " + ) + + .setMqTag("TypeOfNotation"); setSubfieldsWithCardinality( "a", "Textual holdings", "NR", From 67714b6ced249474dbbda7e9339c19b5a0b700e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 29 Aug 2024 17:27:03 +0200 Subject: [PATCH 46/54] Fix broken tag classes --- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java | 2 +- .../de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java index 137ea78d6..5e9a32d7e 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH59.java @@ -50,7 +50,7 @@ private void initialize() { "8", "Sortierhilfe", "NR", "a", "Bandzählung", "NR", "i", "Berichtsjahr", "NR", - "8", "ALMA MMS ID linking HOL to HXX elements" + "8", "ALMA MMS ID linking HOL to HXX elements","R" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java index 3d0b56b4e..aa3d75bfc 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH69.java @@ -55,7 +55,7 @@ private void initialize() { "j", "Monatszählung", "NR", "k", "Tageszählung", "NR", "i", "Jahreszählung", "NR", - "8", "ALMA MMS ID linking HOL to HXX elements" + "8", "ALMA MMS ID linking HOL to HXX elements","R" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java index dfaeeb65d..aedebc3d7 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH92.java @@ -47,7 +47,7 @@ private void initialize() { "w", "SSG-Notation", "R", "y", "ZDB-Prioritätszahl", "R", "z", "Finanzierungsart", "NR", - "8", "ALMA MMS ID linking HOL to HXX elements" + "8", "ALMA MMS ID linking HOL to HXX elements","R" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java index 3384f1e1f..ecd38bfad 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH93.java @@ -44,7 +44,7 @@ private void initialize() { "f", "Angaben zum Lizenztyp", "NR", "g", "Angaben zum Preistyp", "NR", "h", "Kommentar zu Dokument-, Lizenz- und Preistyp", "NR", - "8", "ALMA MMS ID linking HOL to HXX elements" + "8", "ALMA MMS ID linking HOL to HXX elements","R" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java index 2f7da33f7..ba73811da 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH94.java @@ -37,7 +37,7 @@ private void initialize() { setSubfieldsWithCardinality( "a", "Notation", "R", - "8", "ALMA MMS ID linking HOL to HXX elements" + "8", "ALMA MMS ID linking HOL to HXX elements","R" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java index a3b6bb6ac..a1269c2a6 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagH95.java @@ -40,7 +40,7 @@ private void initialize() { "9", "...", "R", "x", "...", "R", "v", "...", "R", - "8", "ALMA MMS ID linking HOL to HXX elements" + "8", "ALMA MMS ID linking HOL to HXX elements","R" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java index 8af6b7deb..2e75f731f 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHAD.java @@ -50,7 +50,7 @@ private void initialize() { "q", "Raubgutkennung (CV-Liste verfügbar)", "NR", "r", "Restitutionsstatus (CV-Liste verfügbar)", "NR", "s", "Alte Signatur", "R", - "8", "ALMA MMS ID linking HOL to HXX elements" + "8", "ALMA MMS ID linking HOL to HXX elements","R" ); } } \ No newline at end of file diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java index bfd64f106..9fabfaa33 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagHOL.java @@ -42,7 +42,7 @@ private void initialize() { "f", "Location name subfield", "R", "g", "Suppress from publishing subfield", "R", "M", "Member code subfield", "R", - "8", "ALMA MMS ID linking HOL to HXX elements" + "8", "ALMA MMS ID linking HOL to HXX elements","R" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java index 0e3fabec8..3e810ac93 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagPOR.java @@ -64,7 +64,7 @@ private void initialize() { "M", "Member code subfield", "R", "A", "Available for Institution subfield", "R", "S", "Service ID subfield", "R", - "8", "ALMA MMS ID linking POR" + "8", "ALMA MMS ID linking POR", "R" ); } From 81e7a915c8e06bf0f498de0d9eaad46fe3afb533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 29 Aug 2024 17:27:11 +0200 Subject: [PATCH 47/54] Update tests --- .../metadataqa/marc/utils/DataElementsStaticticsTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java index 7c05d5c96..86824bf43 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java @@ -16,8 +16,8 @@ public void testStatistics() { assertEquals( 184, statistics.get(DataElementType.coreIndicators)); assertEquals(2667, statistics.get(DataElementType.coreSubfields)); assertEquals( 291, statistics.get(DataElementType.localFields)); - assertEquals( 55, statistics.get(DataElementType.localIndicators)); - assertEquals(2360, statistics.get(DataElementType.localSubfields)); - assertEquals(6004, statistics.total()); + assertEquals( 59, statistics.get(DataElementType.localIndicators)); + assertEquals(2369, statistics.get(DataElementType.localSubfields)); + assertEquals(6017, statistics.total()); } } \ No newline at end of file From d971b93444e3ee4340e2c57adb0a45e6298f06a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Fri, 30 Aug 2024 14:36:20 +0200 Subject: [PATCH 48/54] Add $B to all elements that can have GND enrichment links --- .../gwdg/metadataqa/marc/definition/tags/tags1xx/Tag100.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags1xx/Tag110.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags1xx/Tag111.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags1xx/Tag130.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags6xx/Tag600.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags6xx/Tag610.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags6xx/Tag611.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags6xx/Tag630.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags6xx/Tag647.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags6xx/Tag648.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags6xx/Tag650.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags6xx/Tag651.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags70x/Tag700.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags70x/Tag710.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags70x/Tag711.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags70x/Tag720.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags70x/Tag730.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags70x/Tag740.java | 1 + .../gwdg/metadataqa/marc/definition/tags/tags70x/Tag751.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags70x/Tag752.java | 4 ++++ 20 files changed, 77 insertions(+) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag100.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag100.java index ff211c050..4896fae71 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag100.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag100.java @@ -205,6 +205,10 @@ private void initialize() { new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); + sourceSpecificationType = SourceSpecificationType.Subfield2; } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag110.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag110.java index db1275d7c..79f162e62 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag110.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag110.java @@ -189,6 +189,10 @@ private void initialize() { new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); + sourceSpecificationType = SourceSpecificationType.Subfield2; } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag111.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag111.java index 94b3c5f92..db4874fcc 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag111.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag111.java @@ -194,6 +194,10 @@ private void initialize() { new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); + sourceSpecificationType = SourceSpecificationType.Subfield2; } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag130.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag130.java index 7a34383c2..60112f899 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag130.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag130.java @@ -190,6 +190,10 @@ private void initialize() { new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); + sourceSpecificationType = SourceSpecificationType.Subfield2; } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag600.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag600.java index 4ff69457f..6ef77263b 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag600.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag600.java @@ -292,6 +292,10 @@ private void initialize() { new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); + sourceSpecificationType = SourceSpecificationType.Indicator2AndSubfield2; } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag610.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag610.java index f6380b364..fa128fc98 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag610.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag610.java @@ -273,5 +273,9 @@ private void initialize() { new SubfieldDefinition("@", "Language of field", "NR").setMqTag("language"), new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag611.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag611.java index 8d5e98697..8cd4cc760 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag611.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag611.java @@ -260,5 +260,9 @@ private void initialize() { new SubfieldDefinition("@", "Language of field", "NR").setMqTag("language"), new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag630.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag630.java index 59260e387..599940e8f 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag630.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag630.java @@ -248,6 +248,10 @@ private void initialize() { new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); + sourceSpecificationType = SourceSpecificationType.Indicator2AndSubfield2; } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag647.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag647.java index 3d47f07d7..be5c6c998 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag647.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag647.java @@ -127,6 +127,10 @@ private void initialize() { new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); + sourceSpecificationType = SourceSpecificationType.Indicator2AndSubfield2; } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag648.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag648.java index b31c8549c..0b6d8f3d0 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag648.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag648.java @@ -159,6 +159,10 @@ private void initialize() { new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); + sourceSpecificationType = SourceSpecificationType.Indicator2AndSubfield2; } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag650.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag650.java index c0bc0ff1e..f20dc127e 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag650.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag650.java @@ -197,6 +197,10 @@ private void initialize() { new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); + sourceSpecificationType = SourceSpecificationType.Indicator2AndSubfield2; setHistoricalSubfields( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag651.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag651.java index 60f88a43a..6cc0534b3 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag651.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags6xx/Tag651.java @@ -171,6 +171,10 @@ private void initialize() { new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); + sourceSpecificationType = SourceSpecificationType.Indicator2AndSubfield2; setHistoricalSubfields( diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag700.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag700.java index ae4428d80..a43306a9d 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag700.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag700.java @@ -272,5 +272,9 @@ private void initialize() { new SubfieldDefinition("@", "Language of field", "NR").setMqTag("language"), new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag710.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag710.java index 62ca4af2c..54a20cd0f 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag710.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag710.java @@ -256,5 +256,9 @@ private void initialize() { new SubfieldDefinition("@", "Language of field", "NR").setMqTag("language"), new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag711.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag711.java index efe127730..c97661f0e 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag711.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag711.java @@ -243,5 +243,9 @@ private void initialize() { new SubfieldDefinition("@", "Language of field", "NR").setMqTag("language"), new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag720.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag720.java index a108bb4f0..3fa95cb66 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag720.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag720.java @@ -111,5 +111,9 @@ private void initialize() { new SubfieldDefinition("@", "Language of field", "NR").setMqTag("language"), new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag730.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag730.java index 40a76b52e..a964fc388 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag730.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag730.java @@ -220,6 +220,10 @@ private void initialize() { new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); + sourceSpecificationType = SourceSpecificationType.Subfield2; } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag740.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag740.java index afbb20c46..71a318fbb 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag740.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag740.java @@ -121,5 +121,6 @@ private void initialize() { new SubfieldDefinition("@", "Language of field", "NR").setMqTag("language"), new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag751.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag751.java index 666e44071..bbc575159 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag751.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag751.java @@ -116,6 +116,10 @@ private void initialize() { new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); + sourceSpecificationType = SourceSpecificationType.Subfield2; } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag752.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag752.java index 1dc926f5c..6bc653549 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag752.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag752.java @@ -146,6 +146,10 @@ private void initialize() { new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); + sourceSpecificationType = SourceSpecificationType.Subfield2; } } From f10ccc73f53b173f18e21f1a38ee0415e46fa73c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Fri, 30 Aug 2024 14:40:08 +0200 Subject: [PATCH 49/54] Update tests --- .../metadataqa/marc/utils/DataElementsStaticticsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java index 86824bf43..32a3f2bd1 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java @@ -17,7 +17,7 @@ public void testStatistics() { assertEquals(2667, statistics.get(DataElementType.coreSubfields)); assertEquals( 291, statistics.get(DataElementType.localFields)); assertEquals( 59, statistics.get(DataElementType.localIndicators)); - assertEquals(2369, statistics.get(DataElementType.localSubfields)); - assertEquals(6017, statistics.total()); + assertEquals(2388, statistics.get(DataElementType.localSubfields)); + assertEquals(6036, statistics.total()); } } \ No newline at end of file From f478ac5d8fbe155cae51f352957223162c672d9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Fri, 30 Aug 2024 15:22:48 +0200 Subject: [PATCH 50/54] Add $9 to some elements --- .../gwdg/metadataqa/marc/definition/tags/tags01x/Tag020.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags1xx/Tag100.java | 3 ++- .../gwdg/metadataqa/marc/definition/tags/tags5xx/Tag500.java | 4 ++++ .../gwdg/metadataqa/marc/definition/tags/tags70x/Tag700.java | 3 ++- .../gwdg/metadataqa/marc/definition/tags/tags80x/Tag830.java | 4 ++++ 5 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags01x/Tag020.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags01x/Tag020.java index 4b5a3d0f8..e7377baae 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags01x/Tag020.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags01x/Tag020.java @@ -102,5 +102,9 @@ private void initialize() { new SubfieldDefinition("@", "Language of field", "NR").setMqTag("language"), new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("9", "ISBN mit Bindestrichen (fakultativ)", "NR") + )); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag100.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag100.java index 4896fae71..c5b099ea7 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag100.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags1xx/Tag100.java @@ -206,7 +206,8 @@ private void initialize() { )); putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( - new SubfieldDefinition("B", "Authority ID subfield", "NR") + new SubfieldDefinition("B", "Authority ID subfield", "NR"), + new SubfieldDefinition("9", "Anreicherung bei TAT", "NR") )); sourceSpecificationType = SourceSpecificationType.Subfield2; diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags5xx/Tag500.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags5xx/Tag500.java index 4726eea0f..c612c71a4 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags5xx/Tag500.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags5xx/Tag500.java @@ -95,5 +95,9 @@ private void initialize() { new SubfieldDefinition("@", "Language of field", "NR").setMqTag("language"), new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("9", "Zuordnung zum MAB2-Grundfeld", "NR") + )); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag700.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag700.java index a43306a9d..d52784753 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag700.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags70x/Tag700.java @@ -274,7 +274,8 @@ private void initialize() { )); putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( - new SubfieldDefinition("B", "Authority ID subfield", "NR") + new SubfieldDefinition("B", "Authority ID subfield", "NR"), + new SubfieldDefinition("9", "Anreicherung bei TAT", "NR") )); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags80x/Tag830.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags80x/Tag830.java index e4e65d680..23676271b 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags80x/Tag830.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags80x/Tag830.java @@ -250,6 +250,10 @@ private void initialize() { new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("9", "Enthält Angabe mit welchem Gesamttitel verknüpft wird, solange der Parallelbetrieb ALMA/Aleph läuft", "NR") + )); + sourceSpecificationType = SourceSpecificationType.Subfield2; } } From 942a0994d8258b7023f8ce4900cd64871f427c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Fri, 30 Aug 2024 15:26:53 +0200 Subject: [PATCH 51/54] Update tests --- .../metadataqa/marc/utils/DataElementsStaticticsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java index 32a3f2bd1..1fd66fabc 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java @@ -17,7 +17,7 @@ public void testStatistics() { assertEquals(2667, statistics.get(DataElementType.coreSubfields)); assertEquals( 291, statistics.get(DataElementType.localFields)); assertEquals( 59, statistics.get(DataElementType.localIndicators)); - assertEquals(2388, statistics.get(DataElementType.localSubfields)); - assertEquals(6036, statistics.total()); + assertEquals(2393, statistics.get(DataElementType.localSubfields)); + assertEquals(6041, statistics.total()); } } \ No newline at end of file From 35aaf5ab114d0e43bb8e51ca037aa08fcba478bb Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Mon, 2 Sep 2024 09:26:28 +0200 Subject: [PATCH 52/54] Add DNB Elements --- .../marc/definition/tags/hbztags/Tag259.java | 43 ++++++++ .../marc/definition/tags/hbztags/Tag689.java | 80 +++++++++++++++ .../marc/definition/tags/hbztags/Tag889.java | 42 ++++++++ .../marc/definition/tags/hbztags/Tag924.java | 97 +++++++++++++++++++ .../marc/definition/tags/hbztags/Tag925.java | 62 ++++++++++++ .../marc/definition/tags/hbztags/Tag926.java | 62 ++++++++++++ .../marc/definition/tags/hbztags/Tag930.java | 49 ++++++++++ .../marc/definition/tags/hbztags/Tag931.java | 43 ++++++++ .../marc/definition/tags/hbztags/Tag932.java | 42 ++++++++ 9 files changed, 520 insertions(+) create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java create mode 100644 src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java new file mode 100644 index 000000000..aaffe3980 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag259.java @@ -0,0 +1,43 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Ausgabebezeichnung in normierter Form + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag259 extends DataFieldDefinition { + + private static Tag259 uniqueInstance; + + private Tag259() { + initialize(); + postCreation(); + } + + public static Tag259 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag259(); + return uniqueInstance; + } + + private void initialize() { + tag = "259"; + label = "Ausgabebezeichnung in normierter Form"; + mqTag = "WeitereTitel"; + cardinality = Cardinality.Nonrepeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Ausgabebezeichnung in normierter Form", "R" + ); + + getSubfield("a") + .setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java new file mode 100644 index 000000000..7868f9cf1 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag689.java @@ -0,0 +1,80 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; +import de.gwdg.metadataqa.marc.definition.structure.SubfieldDefinition; + +/** + * RSWK-Kette + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag689 extends DataFieldDefinition { + + private static Tag689 uniqueInstance; + + private Tag689() { + initialize(); + postCreation(); + } + + public static Tag689 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag689(); + return uniqueInstance; + } + + private void initialize() { + tag = "689"; + label = "RSWK-Kette"; + mqTag = "RSWKKette"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator("Nummer der RSWK-Kette") + .setCodes( + "0-9", "Nummer der RSWK-Kette" + ) + .setMqTag("nummerDerRSWKKette"); + ind1.getCode("0-9").setRange(true); + + ind2 = new Indicator("Nummer des Kettengliedes") + .setCodes( + " ", "Abschluss einer RSWK-Kettenfolge, Feld enthält dann zwei $5", + "0-9", "Nummer des Kettengliedes" + ) + .setMqTag("nummerDesKettengliedes"); + ind2.getCode("0-9").setRange(true); + + setSubfieldsWithCardinality( + "A", "Indikator des Kettengliedes", "R", + "B", "Permutationsmuster", "R", + "C", "Bemerkungen", "R", + "D", "Repräsentation der MARC-Feldnummer", "R", + "0", "Authority record control number(IDN des Normdatensatzes)", "R", + "5", "Herkunft", "R" + ); + for (char c = 'a'; c <= 'z'; c++) + subfields.add(new SubfieldDefinition(String.valueOf(c), "Same as associated field", "R") + .setParent(this)); + indexSubfields(); + + getSubfield("A").setCodes( + "f", "Formschlagwort", + "g", "geographischer Unterbegriff", + "z", "Zeitschlagwort" + ); + getSubfield("D").setCodes( + "b", "Körperschaft", + "f", "Kongress", + "g", "Geografikum", + "n", "Person (nicht individualisiert)", + "p", "Person (individualisiert)", + "s", "Sachbegriff", + "u", "Werk (nur bei Werken ohne geistige Schöpfer)" + ); + + getSubfield("A") + .setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java new file mode 100644 index 000000000..9fa1f64dd --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag889.java @@ -0,0 +1,42 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Angaben zum umgelenkten Datensatz + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag889 extends DataFieldDefinition { + + private static Tag889 uniqueInstance; + + private Tag889() { + initialize(); + postCreation(); + } + + public static Tag889 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag889(); + return uniqueInstance; + } + + private void initialize() { + tag = "889"; + label = "Angaben zum umgelenkten Datensatz"; + mqTag = "AngabenZumUmgelenktenDatensatz"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "w", "Replacement bibliographic record control number (Kontrollnummer des Zielsatzes)", "R" + ); + + getSubfield("w").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java new file mode 100644 index 000000000..0cbf7dfa3 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag924.java @@ -0,0 +1,97 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Bestandsinformationen + */ +public class Tag924 extends DataFieldDefinition { + + private static Tag924 uniqueInstance; + + private Tag924() { + initialize(); + postCreation(); + } + + public static Tag924 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag924(); + return uniqueInstance; + } + + private void initialize() { + tag = "924"; + label = "Bestandsinformationen"; + mqTag = "Bestandsinformationen"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator("Art der Ressource") + .setCodes( + "0", "Nicht-elektronisch", + "1", "Elektronisch" + ) + .setMqTag("artDerRessource"); + + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Lokale IDN des Bestandsdatensatzes", "NR", + "b", "ISIL als Kennzeichen der besitzenden Institution", "NR", + "c", "Leihverkehrsregion", "NR", + "d", "Fernleihindikator", "NR", + "e", "(Vertragsrechtliche) Einschränkungen bei der Fernleihe", "R", + "f", "Kommentar zum Fernleihindikator", "R", + "g", "Signatur", "R", + "h", "Sonderstandort / Abteilung", "R", + "i", "Sonderstandort-Signatur", "R", + "j", "Kommentar(e) zur Signatur", "R", + "k", "Elektronische Adresse für eine Computerdatei im Fernzugriff, Uniform Resource Identifier", "R", + "l", "Elektronische Adresse für eine Computerdatei im Fernzugriff, Interne und Allg. Bemerkungen (zum URI)", "R", + "m", "Normierte Bestandsangaben, Bandzählung (Beginn)", "R", + "n", "Normierte Bestandsangaben, Heftzählung (Beginn)", "R", + "o", "Normierte Bestandsangaben, Tageszählung (Beginn)", "R", + "p", "Normierte Bestandsangaben, Monatszählung (Beginn)", "R", + "q", "Normierte Bestandsangaben, Jahr (Beginn)", "R", + "r", "Normierte Bestandsangaben, Bandzählung (Ende)", "R", + "s", "Normierte Bestandsangaben, Heftzählung (Ende)", "R", + "t", "Normierte Bestandsangaben, Tageszählung (Ende)", "R", + "u", "Normierte Bestandsangaben, Monatszählung (Ende)", "R", + "v", "Normierte Bestandsangaben, Jahr (Ende)", "R", + "w", "Normierte Bestandsangaben, Kettung", "R", + "x", "Normierte Bestandsangaben, Kennzeichnung \"laufender Bestand\"", "R", + "y", "Aufbewahrungs- und Verfügbarkeitszeitraum, Moving Wall", "R", + "z", "Zusammenfassende Bestandsangaben", "R", + "9", "Sigel als Kennzeichen der besitzenden Institution", "R" + ); + + getSubfield("c").setCodes( + "ANL", "Nationallizenzen für Deutschland", + "BAW", "Leihverkehrsregion Baden-Württemberg und Saarland", + "BAY", "Leihverkehrsregion Bayern", + "BER", "Leihverkehrsregion Berlin und Brandenburg", + "HAM", "Leihverkehrsregion GBV (Hamburg, Bremen, Schleswig-Holstein und Mecklenburg-Vorpommern)", + "HES", "Leihverkehrsregion Hessen und Teile von Rheinland-Pfalz", + "NIE", "Leihverkehrsregion GBV (Niedersachsen)", + "NRW", "Leihverkehrsregion Nordrhein-Westfalen und Teile von Rheinland-Pfalz", + "SAA", "Leihverkehrsregion GBV (Sachsen-Anhalt)", + "SAX", "Leihverkehrsregion Sachsen", + "THU", "Leihverkehrsregion GBV (Thüringen)", + "WEU", "Bibliotheken im Ausland", + "WWW", "Nur im Internet" + ); + + getSubfield("e").setCodes( + "a", "Fernleihe (nur Ausleihe)", + "e", "Fernleihe (Kopie, elektronischer Versand an Endnutzer möglich)", + "k", "Fernleihe (Nur Kopie)", + "l", "Fernleihe (Kopie und Ausleihe)", + "n", "Keine Fernleihe" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java new file mode 100644 index 000000000..64e648096 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag925.java @@ -0,0 +1,62 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Weitere DNB-Codierungen + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag925 extends DataFieldDefinition { + + private static Tag925 uniqueInstance; + + private Tag925() { + initialize(); + postCreation(); + } + + public static Tag925 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag925(); + return uniqueInstance; + } + + private void initialize() { + tag = "925"; + label = "Weitere DNB-Codierungen"; + mqTag = "WeitereDNBCodierungen"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator("First") // TODO: ask what it is, it is not set in the document + .setCodes( + "p", "Published on demand (bei Netzpublikationen", + "r", "Reihenzugehörigkeit", + "s", "Zugehörigkeit zu einer Sammlung" + ) + .setMqTag("first"); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Code je nach Indikatoren", "R" + ); + + getSubfield("a").setCodes( + "pd", "Books on demand", + "ra", "Reihe A", + "rb", "Reihe B", + "rc", "Reihe C", + "rh", "Reihe H", + "ro", "Reihe O", + "rm", "Reihe M", + "rt", "Reihe T", + "rg", "Fremdsprachige Germanica (1992 - 2003)", + "ru", "Übersetzung deutschsprachiger Werke (1992 - 2003)", + "ep", "E-Paper" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java new file mode 100644 index 000000000..ebe731088 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag926.java @@ -0,0 +1,62 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Thema-Klassifikation + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag926 extends DataFieldDefinition { + + private static Tag926 uniqueInstance; + + private Tag926() { + initialize(); + postCreation(); + } + + public static Tag926 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag926(); + return uniqueInstance; + } + + private void initialize() { + tag = "926"; + label = "Thema-Klassifikation"; + mqTag = "ThemaKlassifikation"; + cardinality = Cardinality.Repeatable; + // descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator("Level der Thema-Klassifikation") + .setCodes( + "1", "Primär (aus ONIX mainsubject)", + "2", "Sekundär (aus ONIX subject)" + ) + .setMqTag("level"); + + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Thema-Code (Subjects + Qualifier)", "NR", + "o", "ONIX-Code für Thema-Klasse", "NR", + "q", "Thema-Quelle (Sourcename)", "NR", + "v", "Thema-Version", "NR", + "x", "Thema-Text", "NR" + ); + + getSubfield("o").setCodes( + "93", "Thema subject category", + "94", "Thema geographical qualifier", + "95", "Thema language qualifier", + "96", "Thema time period qualifier", + "97", "Thema educational purpose qualifier", + "98", "Thema interest age / special interest qualifier", + "99", "Thema style qualifier" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java new file mode 100644 index 000000000..5730c429a --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag930.java @@ -0,0 +1,49 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Unterreihenangaben in strukturierter Form - ZDB + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag930 extends DataFieldDefinition { + + private static Tag930 uniqueInstance; + + private Tag930() { + initialize(); + postCreation(); + } + + public static Tag930 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag930(); + return uniqueInstance; + } + + private void initialize() { + tag = "930"; + label = "Unterreihenangaben in strukturierter Form - ZDB"; + mqTag = "UnterreihenangabenInStrukturierterFormZDB"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Titel der Unterreihe", "NR", + "d", "Zusatz zum Sachtitel/Parallelsachtitel der Unterreihe", "R", + "e", "Reihenbezeichnung und /oder Zählung", "R", + "f", "Parallelsachtitel zur UR(@)", "R", + "h", "Verfasserangabe zur Unterreihe", "NR", + "l", "Reihenbezeichnung und /oder Zählung", "NR", + "n", "Reihenbezeichnung und /oder Zählung", "NR", + "r", "Undifferenzierter Text", "NR" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java new file mode 100644 index 000000000..3181afe37 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag931.java @@ -0,0 +1,43 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Gravierende Korrektur - ZDB + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag931 extends DataFieldDefinition { + + private static Tag931 uniqueInstance; + + private Tag931() { + initialize(); + postCreation(); + } + + public static Tag931 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag931(); + return uniqueInstance; + } + + private void initialize() { + tag = "931"; + label = "Gravierende Korrektur - ZDB"; + mqTag = "GravierendeKorrekturZDB"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Datum (JJ-MM-TT)", "NR", + "b", "Selektionsschlüssel", "NR" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java new file mode 100644 index 000000000..6d00baa14 --- /dev/null +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag932.java @@ -0,0 +1,42 @@ +package de.gwdg.metadataqa.marc.definition.tags.hbztags; + +import de.gwdg.metadataqa.marc.definition.Cardinality; +import de.gwdg.metadataqa.marc.definition.structure.DataFieldDefinition; +import de.gwdg.metadataqa.marc.definition.structure.Indicator; + +/** + * Online-Contents-Ausschnittskennung - ZDB + * http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010 + */ +public class Tag932 extends DataFieldDefinition { + + private static Tag932 uniqueInstance; + + private Tag932() { + initialize(); + postCreation(); + } + + public static Tag932 getInstance() { + if (uniqueInstance == null) + uniqueInstance = new Tag932(); + return uniqueInstance; + } + + private void initialize() { + tag = "932"; + label = "Online-Contents-Ausschnittskennung - ZDB"; + mqTag = "OnlineContentsAusschnittskennungZDB"; + cardinality = Cardinality.Repeatable; + descriptionUrl = "http://swbtools.bsz-bw.de/cgi-bin/help.pl?cmd=kat&val=4010"; + + ind1 = new Indicator(); + ind2 = new Indicator(); + + setSubfieldsWithCardinality( + "a", "Online-Contents-Ausschnittskennung", "R" + ); + + getSubfield("a").setMqTag("rdf:value"); + } +} From b0c584646daae0142f6e7de52345e52a41f141ca Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Mon, 2 Sep 2024 09:45:46 +0200 Subject: [PATCH 53/54] Update tests --- .../metadataqa/marc/utils/DataElementsStaticticsTest.java | 8 ++++---- .../de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java index 1fd66fabc..64b29b1ef 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java @@ -15,9 +15,9 @@ public void testStatistics() { assertEquals( 229, statistics.get(DataElementType.coreFields)); assertEquals( 184, statistics.get(DataElementType.coreIndicators)); assertEquals(2667, statistics.get(DataElementType.coreSubfields)); - assertEquals( 291, statistics.get(DataElementType.localFields)); - assertEquals( 59, statistics.get(DataElementType.localIndicators)); - assertEquals(2393, statistics.get(DataElementType.localSubfields)); - assertEquals(6041, statistics.total()); + assertEquals( 300, statistics.get(DataElementType.localFields)); + assertEquals( 64, statistics.get(DataElementType.localIndicators)); + assertEquals(2471, statistics.get(DataElementType.localSubfields)); + assertEquals(6133, statistics.total()); } } \ No newline at end of file diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java index 53f749eaa..1d739dc75 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/MarcTagListerTest.java @@ -28,7 +28,7 @@ public void testListTag() { List> tags = MarcTagLister.listTags(); assertNotNull(tags); assertNotEquals(0, tags.size()); - assertEquals(520, tags.size()); + assertEquals(529, tags.size()); assertEquals("Tag010", tags.get(0).getSimpleName()); Map versionCounter = new HashMap<>(); Map versionCounter2 = new HashMap<>(); @@ -118,8 +118,8 @@ public void testListTag() { assertEquals( 12, (int) versionCounter2.get(MarcVersion.OGYK)); assertEquals( 12, (int) versionCounter.get("ogyktags")); - assertEquals( 63, (int) versionCounter2.get(MarcVersion.HBZ)); - assertEquals( 63, (int) versionCounter.get("hbztags")); + assertEquals( 72, (int) versionCounter2.get(MarcVersion.HBZ)); + assertEquals( 72, (int) versionCounter.get("hbztags")); assertEquals(229, (int) versionCounter2.get(MarcVersion.MARC21)); assertEquals( 2, (int) versionCounter.get("holdings")); From 482091b43cd5b9186e3e51486d02f7101dc095be Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Mon, 2 Sep 2024 13:38:29 +0200 Subject: [PATCH 54/54] Update some element specification --- .../marc/definition/tags/hbztags/Tag960.java | 19 ++++++++++++++++--- .../marc/definition/tags/hbztags/Tag964.java | 9 +++++---- .../marc/definition/tags/hbztags/Tag980.java | 3 ++- .../marc/definition/tags/hbztags/Tag981.java | 3 ++- .../marc/definition/tags/hbztags/Tag982.java | 3 ++- .../marc/definition/tags/hbztags/Tag994.java | 3 ++- .../marc/definition/tags/hbztags/Tag997.java | 3 ++- .../marc/definition/tags/hbztags/TagGPN.java | 10 ++++++++++ .../marc/definition/tags/tags20x/Tag240.java | 4 ++++ .../marc/definition/tags/tags3xx/Tag340.java | 4 ++++ .../marc/definition/tags/tags84x/Tag856.java | 4 ++++ .../utils/DataElementsStaticticsTest.java | 4 ++-- 12 files changed, 55 insertions(+), 14 deletions(-) diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java index 786a54112..f853aad8c 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag960.java @@ -93,13 +93,26 @@ private void initialize() { ); getSubfield("n").setCodes( - "NWBib", "Nordrhein-westfälische Bibliographie", - "NWBib-Zeitschrift", "NWBib-Zeitschrift", + "NWBib", "Nordrhein-westfälische Bibliographie", + "NWBib-5", "Nordrhein-westfälische Bibliographie", + "NWBib-6", "Nordrhein-westfälische Bibliographie", + "NWBib-61", "Nordrhein-westfälische Bibliographie", + "NWBib-Zeitschrift", "NWBib-Zeitschrift", + "NWBib-Zeitschrift-5", "Nordrhein-westfälische Bibliographie", + "NWBib-Zeitschrift-6", "Nordrhein-westfälische Bibliographie", + "NWBib-Zeitschrift-61", "Nordrhein-westfälische Bibliographie", "prov", "provisor. Aufn. f. NWBib" ); getSubfield("o").setCodes( - "bdf", "Bibliothek der Frauenfrage in Deutschland" + "bdf", "Bibliothek der Frauenfrage in Deutschland", + "bdl", "Bibliothek der deutschen Literatur", + "bst", "Bibliothek Stein", + "dfhb", "Diplomarbeiten FHBD", + "ecorv", "Edition Corvey", + "eeb", "Early English Books, Mikroformsammlung KI USB Köln", + "nszk", "Projekt NS-Zentralkatalog NRW", + "retro", "Projekt Retrokonversion" ); } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java index 8bc90ab34..c8c20636f 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag964.java @@ -36,15 +36,16 @@ private void initialize() { .setMqTag("undefined"); ind2 = new Indicator("undefined") .setCodes( - "s", "...", - "u", "..." + "s", "save", + "u", "unknown", + "i", "information" ) .setMqTag("undefined"); setSubfieldsWithCardinality( "A", "A", "R", - "F", "F", "R", - "V", "V", "R" + "F", "Feste Felder Aleph", "R", + "V", "Variable Felder Aleph", "R" ); } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag980.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag980.java index 03c0b8ab5..9830804cf 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag980.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag980.java @@ -50,7 +50,8 @@ private void initialize() { "g", "Abrufzeichen Publikationsarten", "R", "h", "Abrufzeichen Schenkungen,Leihgaben", "R", "s", "Sammlungsvermerke", "R", - "x", "LKR", "R" + "x", "LKR", "R", + "9", "Verweis auf Lokalinformation","NR" ); diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java index 49b4ff9f4..6f2349a8c 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag981.java @@ -34,7 +34,8 @@ private void initialize() { setSubfieldsWithCardinality( "a", "Systemnummer alt", "NR", - "u", " IDN Exemplar (EPN)", "NR" + "u", " IDN Exemplar (EPN)", "NR", + "9", "Verweis auf Lokalinformation","NR" ); } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java index 610b502db..7a4e32552 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag982.java @@ -35,7 +35,8 @@ private void initialize() { setSubfieldsWithCardinality( "a", "Schlagwort, unaufgegliedert", "R", "b", "Sachschlagwort", "R", - "c", "Formschlagwort", "R" + "c", "Formschlagwort", "R", + "9", "Verweis auf Lokalinformation","NR" ); } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag994.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag994.java index 72fe4f700..c8bbb041b 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag994.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag994.java @@ -31,7 +31,8 @@ private void initialize() { "a", "Aufnahmeland", "R", "b", "Sendeanstalt", "NR", "c", "Sendedatum", "NR", - "d", "Bandposition", "NR" + "d", "Bandposition", "NR", + "9", "Verweis auf Lokalinformation","NR" ); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag997.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag997.java index 03d10cd4f..b21ddf487 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag997.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/Tag997.java @@ -33,7 +33,8 @@ private void initialize() { ind2 = new Indicator(); setSubfieldsWithCardinality( - "a", "Aufnahmedatum, Aufnahmejahr", "R" + "a", "Aufnahmedatum, Aufnahmejahr", "R", + "9", "Verweis auf Lokalinformation","NR" ); //TODO: Field a needs to be YYYYMMDD diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java index 547ce987f..9ecb3ea4e 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/hbztags/TagGPN.java @@ -53,6 +53,16 @@ private void initialize() { "4", "Beziehungscode", "R", "5", "Institution, auf die sich das Feld bezieht ", "R", "9", "C: - Anwendungskontext (W), L: - Sprachcode (NW), U: - Schriftcode (NW), v: - Bemerkungen (W)", "R", + "t", "Titel eines Werkes", "NR", + "f", "Datum eines Werkes", "NR", + "g", "Zusatz", "R", + "h", "Inhaltstyp", "R", + "l", "Sprache der Expression", "R", + "m", "Medium der Musikaufführung", "R", + "n", "Zählung eines Teils/einer Abteilung eines Werkes", "R", + "o", "Angabe des Musikarrangements", "R", + "p", "Titel eines Teils/einer Abteilung eines Werkes", "R", + "r", "Tonart", "NR", "A", "Vocabulary subfield", "R", "B", "Authority ID subfield", "R", "C", "Authority tag subfield","R" diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags20x/Tag240.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags20x/Tag240.java index acd1ff794..a7f3c2c62 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags20x/Tag240.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags20x/Tag240.java @@ -192,5 +192,9 @@ private void initialize() { new SubfieldDefinition("@", "Language of field", "NR").setMqTag("language"), new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("B", "Authority ID subfield", "NR") + )); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags3xx/Tag340.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags3xx/Tag340.java index 091fd7f89..868a323fd 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags3xx/Tag340.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags3xx/Tag340.java @@ -177,5 +177,9 @@ private void initialize() { new SubfieldDefinition("@", "Language of field", "NR").setMqTag("language"), new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("9", "Feldzuordnung Aleph", "NR") + )); } } diff --git a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags84x/Tag856.java b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags84x/Tag856.java index 90d455fa4..d5c4e7634 100644 --- a/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags84x/Tag856.java +++ b/src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags84x/Tag856.java @@ -234,6 +234,10 @@ private void initialize() { new SubfieldDefinition("#", "number/occurrence of field", "NR").setMqTag("number") )); + putVersionSpecificSubfields(MarcVersion.HBZ, Arrays.asList( + new SubfieldDefinition("9", "Kennzeichnung Link PKN", "NR") + )); + setHistoricalSubfields( "g", "Uniform Resource Name [OBSOLETE, 2000]", "b", "Access number [OBSOLETE, 2020]", // "R", diff --git a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java index 64b29b1ef..c0095a65c 100644 --- a/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java +++ b/src/test/java/de/gwdg/metadataqa/marc/utils/DataElementsStaticticsTest.java @@ -17,7 +17,7 @@ public void testStatistics() { assertEquals(2667, statistics.get(DataElementType.coreSubfields)); assertEquals( 300, statistics.get(DataElementType.localFields)); assertEquals( 64, statistics.get(DataElementType.localIndicators)); - assertEquals(2471, statistics.get(DataElementType.localSubfields)); - assertEquals(6133, statistics.total()); + assertEquals(2489, statistics.get(DataElementType.localSubfields)); + assertEquals(6151, statistics.total()); } } \ No newline at end of file