Class UnimarcLeader

All Implemented Interfaces:
Extractable, Validatable, Serializable

public class UnimarcLeader extends MarcLeader implements Extractable, Validatable, Serializable
See Also:
  • Constructor Details

  • Method Details

    • initialize

      public void initialize()
      Initializes the field by processing the content of the leader. It also sets the type of the record. Processing the content means that the given content gets divided into the predefined fields within the leader, as well as the map of values, so that the both can be utilized.
    • processContent

      protected void processContent()
      Given the content of the leader (essentially values of the field with the LEADER tag), e.g. 02794cam0 2200709 450, it processes the content and divides it into the predefined fields within the leader, as well as the map of values. From the example, the first five characters are the record length, and they get assigned to the recordLength field, and so on.
      Specified by:
      processContent in class MarcPositionalControlField
    • setMarcRecord

      public void setMarcRecord(BibliographicRecord marcRecord)
      Overrides:
      setMarcRecord in class MarcPositionalControlField
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getHierarchicalLevelCode

      public ControlValue getHierarchicalLevelCode()
    • setHierarchicalLevelCode

      public void setHierarchicalLevelCode(ControlValue hierarchicalLevelCode)