Class Counter

java.lang.Object
org.lockss.laaws.crawler.model.Counter

@Validated public class Counter extends Object
A counter for urls.
  • Constructor Details

    • Counter

      public Counter()
  • Method Details

    • count

      public Counter count(Integer count)
    • getCount

      @NotNull public @NotNull Integer getCount()
      The number of elements
      Returns:
      count
    • setCount

      public void setCount(Integer count)
    • itemsLink

      public Counter itemsLink(String itemsLink)
    • getItemsLink

      @NotNull public @NotNull String getItemsLink()
      A link to the list of count items or to a pager with count\\ \\ items.
      Returns:
      itemsLink
    • setItemsLink

      public void setItemsLink(String itemsLink)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object