Class CardCatalogRegisterRange

java.lang.Object
io.goobi.viewer.model.archives.CardCatalogRegisterRange

public class CardCatalogRegisterRange extends Object
A from-to range of the computed card catalog register: a contiguous block of card positions within one drawer, labeled with the ordering titles of its first and last card.
  • Constructor Details

    • CardCatalogRegisterRange

      public CardCatalogRegisterRange(int from, int to, String fromLabel, String toLabel)
      Parameters:
      from - 1-based position of the first card of this range within its drawer
      to - 1-based position of the last card of this range within its drawer
      fromLabel - ordering title at (or nearest after) the first position
      toLabel - ordering title at (or nearest before) the last position
  • Method Details

    • getFrom

      public int getFrom()
    • getTo

      public int getTo()
    • getFromLabel

      public String getFromLabel()
    • getToLabel

      public String getToLabel()