Skip to content

Commit

Permalink
Add local fields / IZ 992 - 998
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Aug 29, 2024
1 parent 52ad6b2 commit b98d469
Show file tree
Hide file tree
Showing 7 changed files with 304 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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"
);
}
}
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;

/**
* 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"
);


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

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

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


}
}

0 comments on commit b98d469

Please sign in to comment.