Package io.goobi.viewer.model.calendar
Class CalendarItemMonth
java.lang.Object
io.goobi.viewer.model.calendar.AbstractCalendarItem
io.goobi.viewer.model.calendar.CalendarItemMonth
- All Implemented Interfaces:
ICalendarItem,Serializable,Comparable<ICalendarItem>
CalendarItemMonth class.
- See Also:
-
Field Summary
Fields inherited from class io.goobi.viewer.model.calendar.AbstractCalendarItem
hits, name, selected, value -
Constructor Summary
ConstructorsConstructorDescriptionCalendarItemMonth(String name, int value, int hits) Constructor for CalendarItemMonth. -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fielddaysOfMonth.Getter for the fieldweeksOfMonth.voidsetDaysOfMonth(List<CalendarItemDay> daysOfMonth) Setter for the fielddaysOfMonth.voidsetWeeksOfMonth(List<CalendarItemWeek> weeksOfMonth) Setter for the fieldweeksOfMonth.toString()Methods inherited from class io.goobi.viewer.model.calendar.AbstractCalendarItem
addHits, getFormattedValue, getHits, getName, getValue, isEmpty, isSelected, setHits, setSelectedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.goobi.viewer.model.calendar.ICalendarItem
compareTo
-
Constructor Details
-
CalendarItemMonth
Constructor for CalendarItemMonth.
- Parameters:
name- aStringobject.value- a int.hits- a int.
-
-
Method Details
-
getDaysOfMonth
Getter for the field
daysOfMonth.- Returns:
- a
Listobject.
-
setDaysOfMonth
Setter for the field
daysOfMonth.- Parameters:
daysOfMonth- aListobject.
-
getWeeksOfMonth
Getter for the field
weeksOfMonth.- Returns:
- a
Listobject.
-
setWeeksOfMonth
Setter for the field
weeksOfMonth.- Parameters:
weeksOfMonth- aListobject.
-
toString
-