Skip to content

Commit

Permalink
Add Subfields to HXX Holding Elements
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Aug 27, 2024
1 parent 550482f commit acac8a3
Show file tree
Hide file tree
Showing 19 changed files with 246 additions and 169 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
}
}
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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"
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"

);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand All @@ -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"
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand All @@ -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"
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
// );
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
}
}
Loading

0 comments on commit acac8a3

Please sign in to comment.