Package de.xima.fc.entities
Class AppointmentClientClosingTime
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
de.xima.fc.entities.AbstractEntity
de.xima.fc.entities.AbstractLockableEntity
de.xima.fc.entities.AAppointmentClosingTime
de.xima.fc.entities.AppointmentClientClosingTime
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,IAppointmentClosingTime
,ILockingVersionProviding
,IMandantDependent
,INameProviding
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,IUUIDEntity
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity
public class AppointmentClientClosingTime
extends AAppointmentClosingTime
implements IMandantDependent
Describes the closing hours of an
AppointmentTemplate
.- Since:
- 7.3.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
JPA attribute name for thegetExcluded()
field.Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersion
Fields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, id
Fields inherited from interface de.xima.fc.entities.interfaces.IAppointmentClosingTime
ATTR_ALL_DAY, ATTR_DATE_FROM, ATTR_DATE_UNTIL, ATTR_TIME_FROM, ATTR_TIME_UNTIL, COL_ALL_DAY, COL_DATE_FROM, COL_DATE_UNTIL, COL_TIME_FROM, COL_TIME_UNTIL
Fields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_ID
Fields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSION
Fields inherited from interface de.xima.fc.entities.interfaces.IMandantDependent
ATTR_MANDANT, COL_CLIENT_ID
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addExcluded
(AppointmentTemplate template) Deprecated.boolean
isExcludedBy
(AppointmentTemplate template) void
removeExcluded
(AppointmentTemplate template) void
void
setExcluded
(List<AppointmentTemplate> excluded) void
setMandant
(Mandant mandant) Deprecated.UsesetClient(Mandant)
.Methods inherited from class de.xima.fc.entities.AAppointmentClosingTime
cloneBasics, getDateFrom, getDateUntil, getId, getName, getTimeFrom, getTimeUntil, getUUID, getUUIDObject, isAllDay, isTimeRangeRequired, setAllDay, setDateFrom, setDateUntil, setName, setTimeFrom, setTimeUntil, setUUID, setUUIDObject
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toString
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId, setId
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface de.xima.fc.entities.interfaces.IAppointmentClosingTime
getDate
Methods inherited from interface de.xima.cmn.dao.interfaces.IEntity
getId, isPersisted, setId
-
Field Details
-
ATTR_EXCLUDED
JPA attribute name for thegetExcluded()
field.- See Also:
-
-
Constructor Details
-
AppointmentClientClosingTime
public AppointmentClientClosingTime()
-
-
Method Details
-
addExcluded
- Parameters:
template
- The template for which to exclude this closing time.
-
isExcludedBy
- Parameters:
template
- TheAppointmentTemplate
to check.- Returns:
- Whether this closing time is excluded by the given template.
-
getClient
- Returns:
- The client to which this template belongs to.
-
getExcluded
- Returns:
- The list of
AppointmentTemplate
which are excluded of this closing time. May only be not null ifMandant
is also not null.
-
getMandant
Deprecated.UsegetClient()
.- Specified by:
getMandant
in interfaceIMandantDependent
- Returns:
- The client to which this template belongs to.
-
removeExcluded
- Parameters:
template
- TheAppointmentTemplate
which may not be excluded of this closing time anymore.
-
setClient
- Parameters:
client
- The client to which this template belongs to.
-
setExcluded
- Parameters:
excluded
- The list ofAppointmentTemplate
which are excluded of this closing time. May only be not null ifMandant
is also not null.
-
cloneBasics
- Returns:
- A copy of this closing time.
-
setMandant
Deprecated.UsesetClient(Mandant)
.- Specified by:
setMandant
in interfaceIMandantDependent
- Parameters:
mandant
- The client to which this template belongs to.
-
getClient()
.