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
ConstructorDescriptionCalendarItemMonth
(String name, int value, int hits) Constructor for CalendarItemMonth. -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fielddaysOfMonth
.Getter for the fieldweeksOfMonth
.void
setDaysOfMonth
(List<CalendarItemDay> daysOfMonth) Setter for the fielddaysOfMonth
.void
setWeeksOfMonth
(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, setSelected
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.goobi.viewer.model.calendar.ICalendarItem
compareTo
-
Constructor Details
-
CalendarItemMonth
Constructor for CalendarItemMonth.
- Parameters:
name
- aString
object.value
- a int.hits
- a int.
-
-
Method Details
-
getDaysOfMonth
Getter for the field
daysOfMonth
.- Returns:
- a
List
object.
-
setDaysOfMonth
Setter for the field
daysOfMonth
.- Parameters:
daysOfMonth
- aList
object.
-
getWeeksOfMonth
Getter for the field
weeksOfMonth
.- Returns:
- a
List
object.
-
setWeeksOfMonth
Setter for the field
weeksOfMonth
.- Parameters:
weeksOfMonth
- aList
object.
-
toString
-