Package de.gwdg.metadataqa.marc
Class MarcSubfield
java.lang.Object
de.gwdg.metadataqa.marc.MarcSubfield
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Get the index code for this subfield.getField()getKeyValuePairs(DataFieldKeyGenerator keyGenerator) getLabel()getValue()resolve()Resolve the subfield value.voidsetDefinition(SubfieldDefinition definition) voidvoidsetLinkage(Linkage linkage) voidsetMarcRecord(BibliographicRecord marcRecord) voidsetReferencePath(String referencePath) split()toString()
-
Constructor Details
-
MarcSubfield
-
-
Method Details
-
getCode
-
getValue
-
getField
-
setField
-
getLinkage
-
setLinkage
-
getReferencePath
-
setReferencePath
-
getLabel
-
resolve
Resolve the subfield value.- Returns:
- Either the original value of the subfield or its label.
-
split
-
getDefinition
-
setDefinition
-
getMarcRecord
-
setMarcRecord
-
getCodeForIndex
Get the index code for this subfield. If there's no definition, the code is just the subfield code. If there's a definition, the code is the index code from the definition. E.g. no definition: "a" -> "_a", definition: see SubfieldDefinition.getCodeForIndex()- Returns:
- The index code for this subfield.
- See Also:
-
parseContent
-
getKeyValuePairs
-
toString
-