Package io.goobi.viewer.model.calendar
Class CalendarItemWeek
java.lang.Object
io.goobi.viewer.model.calendar.AbstractCalendarItem
io.goobi.viewer.model.calendar.CalendarItemWeek
- All Implemented Interfaces:
ICalendarItem
,Serializable
,Comparable<ICalendarItem>
CalendarItemWeek class.
- See Also:
-
Field Summary
Fields inherited from class io.goobi.viewer.model.calendar.AbstractCalendarItem
hits, name, selected, value
-
Constructor Summary
ConstructorDescriptionCalendarItemWeek
(String name, int value, int hits) Constructor for CalendarItemWeek. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDay
(CalendarItemDay day) addDay.Getter for the fielddaysOfWeek
.void
setDaysOfWeek
(List<CalendarItemDay> daysOfWeek) Setter for the fielddaysOfWeek
.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
-
CalendarItemWeek
Constructor for CalendarItemWeek.
- Parameters:
name
- aString
object.value
- a int.hits
- a int.
-
-
Method Details
-
getDaysOfWeek
Getter for the field
daysOfWeek
.- Returns:
- a
List
object.
-
setDaysOfWeek
Setter for the field
daysOfWeek
.- Parameters:
daysOfWeek
- aList
object.
-
addDay
addDay.
- Parameters:
day
- aCalendarItemDay
object.
-
toString
-