Skip to content

Commit

Permalink
Add all other ALMA publishing profil elements
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Aug 16, 2024
1 parent de2ada1 commit d471b53
Show file tree
Hide file tree
Showing 31 changed files with 1,493 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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"
);
}
}
Original file line number Diff line number Diff line change
@@ -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"
);
}
}
Original file line number Diff line number Diff line change
@@ -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"
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
}
}
Original file line number Diff line number Diff line change
@@ -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"
);
}
}
Original file line number Diff line number Diff line change
@@ -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"
);
}
}
Original file line number Diff line number Diff line change
@@ -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"
// );
}
}
Original file line number Diff line number Diff line change
@@ -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"
// );
}
}
Loading

0 comments on commit d471b53

Please sign in to comment.