Interface IAppointmentClosingTime
- All Superinterfaces:
INameProviding, IUUIDEntity
- All Known Implementing Classes:
AAppointmentClosingTime, AppointmentClientClosingTime, AppointmentClosingTime
Common interface for
AppointmentTemplate closing times.- Since:
- 7.3
- Author:
- XIMA MEDIA GmbH
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringJPA attribute name for theisAllDay()field.static final StringJPA attribute name for thegetDateFrom()field.static final StringJPA attribute name for thegetDateUntil()field.static final StringJPA attribute name for thegetTimeFrom()field.static final StringJPA attribute name for thegetTimeUntil()field.static final StringDatabase column name for theisAllDay()field.static final StringDatabase column name for thegetDateFrom()field.static final StringDatabase column name for thegetDateUntil()field.static final StringDatabase column name for thegetTimeFrom()field.static final StringDatabase column name for thegetTimeUntil()field.Fields inherited from interface INameProviding
ATTR_NAME, COL_NAMEFields inherited from interface IUUIDEntity
ATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID -
Method Summary
Modifier and TypeMethodDescriptiondefault com.google.common.collect.Range<LocalDate> getDate()booleanisAllDay()voidsetAllDay(boolean allDay) voidsetDateFrom(LocalDate dateFrom) voidsetDateUntil(LocalDate dateUntil) voidsetTimeFrom(LocalTime timeFrom) voidsetTimeUntil(LocalTime timeUntil) Methods inherited from interface INameProviding
getNameMethods inherited from interface IUUIDEntity
getUUID, getUUIDObject, setUUID
-
Field Details
-
ATTR_ALL_DAY
-
ATTR_DATE_FROM
-
ATTR_DATE_UNTIL
-
ATTR_TIME_FROM
-
ATTR_TIME_UNTIL
-
COL_DATE_FROM
-
COL_DATE_UNTIL
-
COL_TIME_FROM
-
COL_TIME_UNTIL
-
COL_ALL_DAY
-
-
Method Details
-
getDate
- Returns:
- The start and end date of this closing time. This is in the time zone defined by the corresponding
AppointmentTemplate.getZoneId().
-
getDateFrom
LocalDate getDateFrom()- Returns:
- The start date of this closing time. This is in the time zone defined by the corresponding
AppointmentTemplate.getZoneId().
-
setDateFrom
- Parameters:
dateFrom- The start date of this closing time. This is in the time zone defined by the correspondingAppointmentTemplate.getZoneId().
-
getDateUntil
LocalDate getDateUntil()- Returns:
- The end dateof this closing time. This is in the time zone defined by the corresponding
AppointmentTemplate.getZoneId().
-
setDateUntil
- Parameters:
dateUntil- The end date of this closing time. This is in the time zone defined by the correspondingAppointmentTemplate.getZoneId().
-
getTimeFrom
LocalTime getTimeFrom()- Returns:
- The start time of this closing time. This is in the time zone defined by the corresponding
AppointmentTemplate.getZoneId().
-
setTimeFrom
- Parameters:
timeFrom- The start time of this closing time. This is in the time zone defined by the correspondingAppointmentTemplate.getZoneId().
-
getTimeUntil
LocalTime getTimeUntil()- Returns:
- The end time of this closing time. This is in the time zone defined by the corresponding
AppointmentTemplate.getZoneId().
-
setTimeUntil
- Parameters:
timeUntil- The end time of this closing time. This is in the time zone defined by the correspondingAppointmentTemplate.getZoneId().
-
isAllDay
boolean isAllDay()- Returns:
- true if this closing time is all day long.
-
setAllDay
void setAllDay(boolean allDay) - Parameters:
allDay- Whether this closing time last the entire day. If so,getTimeFrom()andgetTimeUntil()are ignored.
-