Package de.xima.fc.entities.interfaces
Interface IAppointmentClosingTime
-
- All Superinterfaces:
INameProviding
,IUUIDEntity
- All Known Implementing Classes:
AAppointmentClosingTime
,AppointmentClientClosingTime
,AppointmentClosingTime
public interface IAppointmentClosingTime extends INameProviding, IUUIDEntity
Common interface forAppointmentTemplate
closing times.- Since:
- 7.3
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_ALL_DAY
JPA attribute name for theisAllDay()
field.static String
ATTR_DATE_FROM
JPA attribute name for thegetDateFrom()
field.static String
ATTR_DATE_UNTIL
JPA attribute name for thegetDateUntil()
field.static String
ATTR_TIME_FROM
JPA attribute name for thegetTimeFrom()
field.static String
ATTR_TIME_UNTIL
JPA attribute name for thegetTimeUntil()
field.static String
COL_ALL_DAY
Database column name for theisAllDay()
field.static String
COL_DATE_FROM
Database column name for thegetDateFrom()
field.static String
COL_DATE_UNTIL
Database column name for thegetDateUntil()
field.static String
COL_TIME_FROM
Database column name for thegetTimeFrom()
field.static String
COL_TIME_UNTIL
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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default com.google.common.collect.Range<LocalDate>
getDate()
LocalDate
getDateFrom()
LocalDate
getDateUntil()
LocalTime
getTimeFrom()
LocalTime
getTimeUntil()
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 Detail
-
ATTR_ALL_DAY
static final String ATTR_ALL_DAY
JPA attribute name for theisAllDay()
field.- See Also:
- Constant Field Values
-
ATTR_DATE_FROM
static final String ATTR_DATE_FROM
JPA attribute name for thegetDateFrom()
field.- See Also:
- Constant Field Values
-
ATTR_DATE_UNTIL
static final String ATTR_DATE_UNTIL
JPA attribute name for thegetDateUntil()
field.- See Also:
- Constant Field Values
-
ATTR_TIME_FROM
static final String ATTR_TIME_FROM
JPA attribute name for thegetTimeFrom()
field.- See Also:
- Constant Field Values
-
ATTR_TIME_UNTIL
static final String ATTR_TIME_UNTIL
JPA attribute name for thegetTimeUntil()
field.- See Also:
- Constant Field Values
-
COL_DATE_FROM
static final String COL_DATE_FROM
Database column name for thegetDateFrom()
field.- See Also:
- Constant Field Values
-
COL_DATE_UNTIL
static final String COL_DATE_UNTIL
Database column name for thegetDateUntil()
field.- See Also:
- Constant Field Values
-
COL_TIME_FROM
static final String COL_TIME_FROM
Database column name for thegetTimeFrom()
field.- See Also:
- Constant Field Values
-
COL_TIME_UNTIL
static final String COL_TIME_UNTIL
Database column name for thegetTimeUntil()
field.- See Also:
- Constant Field Values
-
COL_ALL_DAY
static final String COL_ALL_DAY
Database column name for theisAllDay()
field.- See Also:
- Constant Field Values
-
-
Method Detail
-
getDate
default com.google.common.collect.Range<LocalDate> 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
void setDateFrom(LocalDate dateFrom)
- 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
void setDateUntil(LocalDate dateUntil)
- 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
void setTimeFrom(LocalTime timeFrom)
- 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
void setTimeUntil(LocalTime timeUntil)
- 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.
-
-