Class UnimarcDataField
java.lang.Object
org.marc4j.marc.impl.VariableFieldImpl
org.marc4j.marc.impl.DataFieldImpl
de.gwdg.metadataqa.marc.utils.unimarc.UnimarcDataField
- All Implemented Interfaces:
Serializable,Comparable<org.marc4j.marc.VariableField>,org.marc4j.marc.DataField,org.marc4j.marc.VariableField
public class UnimarcDataField
extends org.marc4j.marc.impl.DataFieldImpl
Represents a data field in a UNIMARC record. A data field consists of a tag, two indicators and
variable length list of subfields.
A schema counterpart of this class is
UnimarcFieldDefinition,
which represents a definition of a UNIMARC field in the scehma.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnimarcDataField(String tag, char ind1, char ind2) Creates a newDataFieldand sets the tag name and the first and second indicator codes. -
Method Summary
Methods inherited from class org.marc4j.marc.impl.DataFieldImpl
addSubfield, addSubfield, find, getId, getIndicator1, getIndicator2, getSubfield, getSubfields, getSubfields, getSubfields, getSubfieldsAsString, removeSubfield, setId, setIndicator1, setIndicator2, toStringMethods inherited from class org.marc4j.marc.impl.VariableFieldImpl
compareTo, getTag, setTagMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.marc4j.marc.VariableField
getTag, setTag
-
Constructor Details
-
UnimarcDataField
Creates a newDataFieldand sets the tag name and the first and second indicator codes.- Parameters:
tag- A UNIMARC tag name (e.g. 100)ind1- The first indicator codeind2- The second indicator code
-