Package de.xima.fc.entities.interfaces
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 String
JPA attribute name for theisAllDay()
field.static final String
JPA attribute name for thegetDateFrom()
field.static final String
JPA attribute name for thegetDateUntil()
field.static final String
JPA attribute name for thegetTimeFrom()
field.static final String
JPA attribute name for thegetTimeUntil()
field.static final String
Database column name for theisAllDay()
field.static final String
Database column name for thegetDateFrom()
field.static final String
Database column name for thegetDateUntil()
field.static final String
Database column name for thegetTimeFrom()
field.static final String
Database column name for thegetTimeUntil()
field.Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
Fields inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
ATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID
-
Method Summary
Modifier and TypeMethodDescriptiondefault com.google.common.collect.Range<LocalDate>
getDate()
boolean
isAllDay()
void
setAllDay
(boolean allDay) void
setDateFrom
(LocalDate dateFrom) void
setDateUntil
(LocalDate dateUntil) void
setTimeFrom
(LocalTime timeFrom) void
setTimeUntil
(LocalTime timeUntil) Methods inherited from interface de.xima.fc.entities.interfaces.INameProviding
getName
Methods inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
getUUID, getUUIDObject, setUUID
-
Field Details
-
ATTR_ALL_DAY
JPA attribute name for theisAllDay()
field.- See Also:
-
ATTR_DATE_FROM
JPA attribute name for thegetDateFrom()
field.- See Also:
-
ATTR_DATE_UNTIL
JPA attribute name for thegetDateUntil()
field.- See Also:
-
ATTR_TIME_FROM
JPA attribute name for thegetTimeFrom()
field.- See Also:
-
ATTR_TIME_UNTIL
JPA attribute name for thegetTimeUntil()
field.- See Also:
-
COL_DATE_FROM
Database column name for thegetDateFrom()
field.- See Also:
-
COL_DATE_UNTIL
Database column name for thegetDateUntil()
field.- See Also:
-
COL_TIME_FROM
Database column name for thegetTimeFrom()
field.- See Also:
-
COL_TIME_UNTIL
Database column name for thegetTimeUntil()
field.- See Also:
-
COL_ALL_DAY
Database column name for theisAllDay()
field.- See Also:
-
-
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.
-