Package io.goobi.viewer.model.calendar
Interface ICalendarItem
- All Superinterfaces:
Comparable<ICalendarItem>
- All Known Implementing Classes:
AbstractCalendarItem
,CalendarItemCentury
,CalendarItemDay
,CalendarItemMonth
,CalendarItemWeek
,CalendarItemYear
ICalendarItem interface.
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
compareTo
(ICalendarItem other) int
getHits()
getHits.getName()
getName.int
getValue()
getValue.boolean
isSelected.void
setHits
(int hits) setHits.void
setSelected
(boolean selected) setSelected.
-
Method Details
-
getName
String getName()getName.
- Returns:
- a
String
object.
-
getValue
int getValue()getValue.
- Returns:
- a int.
-
getHits
int getHits()getHits.
- Returns:
- a int.
-
setHits
void setHits(int hits) setHits.
- Parameters:
hits
- a int.
-
isSelected
boolean isSelected()isSelected.
- Returns:
- a boolean.
-
setSelected
void setSelected(boolean selected) setSelected.
- Parameters:
selected
- a boolean.
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ICalendarItem>
-