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

    Constructors
    Constructor
    Description
    UnimarcDataField(String tag, char ind1, char ind2)
    Creates a new DataField and 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, toString

    Methods inherited from class org.marc4j.marc.impl.VariableFieldImpl

    compareTo, getTag, setTag

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface org.marc4j.marc.VariableField

    getTag, setTag
  • Constructor Details

    • UnimarcDataField

      public UnimarcDataField(String tag, char ind1, char ind2)
      Creates a new DataField and sets the tag name and the first and second indicator codes.
      Parameters:
      tag - A UNIMARC tag name (e.g. 100)
      ind1 - The first indicator code
      ind2 - The second indicator code