Skip to content

Commit

Permalink
issue #89: processing Update No. 25, December 2017
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiraly committed Feb 4, 2021
1 parent 5690a8a commit 133c8e3
Show file tree
Hide file tree
Showing 86 changed files with 349 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ private void initialize() {
"z", "Canceled/invalid ISBN", "R"
);

getSubfield("a").setValidator(ISBNValidator.getInstance());

getSubfield("a")
.setBibframeTag("rdf:value")
.setValidator(ISBNValidator.getInstance())
.setFrbrFunctions(DiscoverySearch, DiscoveryIdentify, DiscoveryObtain);

getSubfield("c")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ private void initialize() {
);
// TODO validation ISO 2108

getSubfield("a").setValidator(ISBNValidator.getInstance());
getSubfield("6").setContentParser(LinkageParser.getInstance());

getSubfield("a")
.setBibframeTag("rdf:value")
.setValidator(ISBNValidator.getInstance())
.setFrbrFunctions(DiscoverySearch, DiscoveryIdentify, DiscoveryObtain)
.setCompilanceLevels("A", "A");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ private void initialize() {
"c", "Geographic classification subarea code", "R",
"p", "Place of event", "R",
"0", "Authority record control number", "R",
"1", "Real World Object URI", "R",
"2", "Source of term", "R",
"3", "Materials specified", "NR",
"6", "Linkage", "NR",
Expand Down Expand Up @@ -96,6 +97,9 @@ private void initialize() {
.setContentParser(RecordControlNumberParser.getInstance())
.setCompilanceLevels("O");

getSubfield("1")
.setMqTag("uri");

getSubfield("2")
.setMqTag("source");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ private void initialize() {
"y", "Ending date", "NR",
"z", "Name of extraterrestrial body", "NR",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"2", "Source", "NR",
"3", "Materials specified", "NR",
"6", "Linkage", "NR",
Expand Down Expand Up @@ -196,6 +197,9 @@ private void initialize() {
.setMqTag("authorityRecordControlNumber")
.setContentParser(RecordControlNumberParser.getInstance());

getSubfield("1")
.setMqTag("uri");

getSubfield("2")
.setMqTag("source")
.setCompilanceLevels("A");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ private void initialize() {
"b", "Local GAC code", "R",
"c", "ISO code", "R",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"2", "Source of local code", "R",
"6", "Linkage", "NR",
"8", "Field link and sequence number", "R"
Expand Down Expand Up @@ -76,6 +77,9 @@ private void initialize() {
.setMqTag("authorityRecordControlNumber")
.setContentParser(RecordControlNumberParser.getInstance());

getSubfield("1")
.setMqTag("uri");

getSubfield("2")
.setMqTag("source")
.setFrbrFunctions(ManagementIdentify, ManagementProcess)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ private void initialize() {
"a", "Classification number", "R",
"b", "Item number", "NR",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"3", "Materials specified", "NR",
"6", "Linkage", "NR",
"8", "Field link and sequence number", "R"
Expand All @@ -84,6 +85,9 @@ private void initialize() {
.setMqTag("authorityRecordControlNumber")
.setContentParser(RecordControlNumberParser.getInstance());

getSubfield("1")
.setMqTag("uri");

getSubfield("3")
.setMqTag("materialsSpecified")
.setFrbrFunctions(DiscoveryIdentify)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ private void initialize() {
"b", "Geographic classification subarea code", "R",
"d", "Populated place name", "R",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"2", "Code source", "NR",
"6", "Linkage", "NR",
"8", "Field link and sequence number", "R"
Expand Down Expand Up @@ -84,6 +85,9 @@ private void initialize() {
.setMqTag("authorityRecordControlNumber")
.setContentParser(RecordControlNumberParser.getInstance());

getSubfield("1")
.setMqTag("uri");

getSubfield("2")
.setMqTag("source")
.setFrbrFunctions(ManagementIdentify, ManagementProcess)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ private void initialize() {
"a", "Classification number", "NR",
"b", "Item number", "NR",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"2", "Source of call/class number", "NR",
"6", "Linkage", "NR",
"8", "Field link and sequence number", "R"
Expand All @@ -93,6 +94,9 @@ private void initialize() {
.setMqTag("authorityRecordControlNumber")
.setContentParser(RecordControlNumberParser.getInstance());

getSubfield("1")
.setMqTag("uri");

getSubfield("2")
.setMqTag("source")
.setFrbrFunctions(ManagementIdentify, ManagementProcess)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ private void initialize() {
"a", "Classification number", "R",
"b", "Item number", "NR",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"8", "Field link and sequence number", "R"
);

Expand All @@ -83,6 +84,9 @@ private void initialize() {
.setMqTag("authorityRecordControlNumber")
.setContentParser(RecordControlNumberParser.getInstance());

getSubfield("1")
.setMqTag("uri");

getSubfield("8").setMqTag("fieldLink")
.setFrbrFunctions(ManagementIdentify, ManagementProcess)
.setCompilanceLevels("O");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ private void initialize() {
"a", "Classification number", "R",
"b", "Item number", "NR",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"8", "Field link and sequence number", "R"
);

Expand All @@ -77,6 +78,9 @@ private void initialize() {
.setMqTag("authorityRecordControlNumber")
.setContentParser(RecordControlNumberParser.getInstance());

getSubfield("1")
.setMqTag("uri");

getSubfield("8")
.setMqTag("fieldLink")
.setFrbrFunctions(ManagementIdentify, ManagementProcess)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private void initialize() {
"b", "Item number", "NR",
"x", "Common auxiliary subdivision", "R",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "NR",
"1", "Real World Object URI", "R",
"2", "Edition identifier", "NR",
"6", "Linkage", "NR",
"8", "Field link and sequence number", "R"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ private void initialize() {
"b", "Item number", "NR",
"q", "Assigning agency", "NR",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"2", "Number source", "NR",
"6", "Linkage", "NR",
"8", "Field link and sequence number", "R"
Expand Down Expand Up @@ -75,6 +76,9 @@ private void initialize() {
.setMqTag("authorityRecordControlNumber")
.setContentParser(RecordControlNumberParser.getInstance());

getSubfield("1")
.setMqTag("uri");

getSubfield("2")
.setBibframeTag("source")
.setFrbrFunctions(ManagementIdentify, ManagementProcess)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ private void initialize() {
"y", "Table sequence number for internal subarrangement or add table", "R",
"z", "Table identification", "R",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"6", "Linkage", "NR",
"8", "Field link and sequence number", "R"
);
Expand Down Expand Up @@ -113,6 +114,9 @@ private void initialize() {
.setMqTag("authorityRecordControlNumber")
.setContentParser(RecordControlNumberParser.getInstance());

getSubfield("1")
.setMqTag("uri");

getSubfield("6")
.setBibframeTag("linkage")
.setCompilanceLevels("O");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ private void initialize() {
"a", "Classification number", "NR",
"z", "Canceled/invalid classification number", "R",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"2", "Number source", "NR",
"6", "Linkage", "NR",
"8", "Field link and sequence number", "R"
Expand All @@ -90,6 +91,9 @@ private void initialize() {
.setMqTag("authorityRecordControlNumber")
.setContentParser(RecordControlNumberParser.getInstance());

getSubfield("1")
.setMqTag("uri");

getSubfield("2")
.setMqTag("source")
.setFrbrFunctions(ManagementIdentify, ManagementProcess)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ private void initialize() {
"t", "Title of a work", "NR",
"u", "Affiliation", "NR",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"2", "Source of heading or term", "NR",
"4", "Relationship", "R",
"6", "Linkage", "NR",
Expand Down Expand Up @@ -163,6 +164,9 @@ private void initialize() {
.setContentParser(RecordControlNumberParser.getInstance())
.setCompilanceLevels("O");

getSubfield("1")
.setMqTag("uri");

getSubfield("2")
.setMqTag("source");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ private void initialize() {
"t", "Title of a work", "NR",
"u", "Affiliation", "NR",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"2", "Source of heading or term", "NR",
"4", "Relationship", "R",
"6", "Linkage", "NR",
Expand Down Expand Up @@ -149,6 +150,9 @@ private void initialize() {
.setContentParser(RecordControlNumberParser.getInstance())
.setCompilanceLevels("O");

getSubfield("1")
.setMqTag("uri");

getSubfield("2")
.setMqTag("source");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private void initialize() {
setSubfieldsWithCardinality(
"a", "Meeting name or jurisdiction name as entry element", "NR",
"c", "Location of meeting", "R",
"d", "Date of meeting", "NR",
"d", "Date of meeting or treaty signing", "NR",
"e", "Subordinate unit", "R",
"f", "Date of a work", "NR",
"g", "Miscellaneous information", "R",
Expand All @@ -70,6 +70,7 @@ private void initialize() {
"t", "Title of a work", "NR",
"u", "Affiliation", "NR",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"2", "Source of heading or term", "NR",
"4", "Relationship", "R",
"6", "Linkage", "NR",
Expand Down Expand Up @@ -154,6 +155,9 @@ private void initialize() {
.setContentParser(RecordControlNumberParser.getInstance())
.setCompilanceLevels("O");

getSubfield("1")
.setMqTag("uri");

getSubfield("2")
.setMqTag("source");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ private void initialize() {
"o", "Arranged statement for music", "NR",
"p", "Name of part/section of a work", "R",
"r", "Key for music", "NR",
"s", "Version", "NR",
"s", "Version", "R",
"t", "Title of a work", "NR",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"2", "Source of heading or term", "NR",
"6", "Linkage", "NR",
"8", "Field link and sequence number", "R"
Expand Down Expand Up @@ -153,6 +154,9 @@ private void initialize() {
.setContentParser(RecordControlNumberParser.getInstance())
.setCompilanceLevels("O");

getSubfield("1")
.setMqTag("uri");

getSubfield("2")
.setMqTag("source");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ private void initialize() {
"o", "Arranged statement for music", "NR",
"p", "Name of part/section of a work", "R",
"r", "Key for music", "NR",
"s", "Version", "NR",
"s", "Version", "R",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"6", "Linkage", "NR",
"8", "Field link and sequence number", "R"
);
Expand Down Expand Up @@ -152,6 +153,9 @@ private void initialize() {
.setContentParser(RecordControlNumberParser.getInstance())
.setCompilanceLevels("O");

getSubfield("1")
.setMqTag("uri");

getSubfield("6")
.setBibframeTag("linkage")
.setFrbrFunctions(ManagementIdentify, ManagementProcess)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private void initialize() {
"o", "Arranged statement for music", "NR",
"p", "Name of part/section of a work", "R",
"r", "Key for music", "NR",
"s", "Version", "NR",
"s", "Version", "R",
"6", "Linkage", "NR",
"8", "Field link and sequence number", "R"
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,12 @@ private void initialize() {
setSubfieldsWithCardinality(
"a", "Country of producing entity", "R",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"2", "Source", "NR",
"6", "Linkage", "NR",
"8", "Field link and sequence number", "R"
);

getSubfield("2").setCodeList(SubjectHeadingAndTermSourceCodes.getInstance());

getSubfield("6").setContentParser(LinkageParser.getInstance());

getSubfield("a")
.setBibframeTag("Place").setMqTag("rdf:value")
.setFrbrFunctions(DiscoveryIdentify, DiscoverySelect, DiscoveryObtain)
Expand All @@ -62,12 +59,17 @@ private void initialize() {
.setMqTag("authorityRecordControlNumber")
.setContentParser(RecordControlNumberParser.getInstance());

getSubfield("1")
.setMqTag("uri");

getSubfield("2")
.setMqTag("source")
.setCodeList(SubjectHeadingAndTermSourceCodes.getInstance())
.setCompilanceLevels("A", "A");

getSubfield("6")
.setBibframeTag("linkage")
.setContentParser(LinkageParser.getInstance())
.setFrbrFunctions(ManagementIdentify, ManagementProcess)
.setCompilanceLevels("A", "A");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ private void initialize() {
"a", "Content type term", "R",
"b", "Content type code", "R",
"0", "Authority record control number or standard number", "R",
"1", "Real World Object URI", "R",
"2", "Source", "NR",
"3", "Materials specified", "NR",
"6", "Linkage", "NR",
Expand All @@ -67,6 +68,9 @@ private void initialize() {
.setMqTag("authorityRecordControlNumber")
.setContentParser(RecordControlNumberParser.getInstance());

getSubfield("1")
.setMqTag("uri");

getSubfield("2")
.setBibframeTag("source")
.setCompilanceLevels("M");
Expand Down
Loading

0 comments on commit 133c8e3

Please sign in to comment.