Class CalendarItemYear

java.lang.Object
io.goobi.viewer.model.calendar.AbstractCalendarItem
io.goobi.viewer.model.calendar.CalendarItemYear
All Implemented Interfaces:
ICalendarItem, Serializable, Comparable<ICalendarItem>

public class CalendarItemYear extends AbstractCalendarItem implements Serializable

CalendarItemYear class.

See Also:
  • Constructor Details

    • CalendarItemYear

      public CalendarItemYear(String name, int value, int hits)

      Constructor for CalendarItemYear.

      Parameters:
      name - a String object.
      value - a int.
      hits - a int.
  • Method Details

    • getMonthsOfYear

      public List<CalendarItemMonth> getMonthsOfYear()

      Getter for the field monthsOfYear.

      Returns:
      a List object.
    • setMonthsOfYear

      public void setMonthsOfYear(List<CalendarItemMonth> monthsOfYear)

      Setter for the field monthsOfYear.

      Parameters:
      monthsOfYear - a List object.
    • toString

      public String toString()
      Overrides:
      toString in class Object