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 anAppointmentTemplate
.- Since:
- 7.3.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_EXCLUDED
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.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 Constructor Description AppointmentClientClosingTime()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addExcluded(AppointmentTemplate template)
AppointmentClientClosingTime
cloneBasics()
Mandant
getClient()
List<AppointmentTemplate>
getExcluded()
Mandant
getMandant()
Deprecated.UsegetClient()
.boolean
isExcludedBy(AppointmentTemplate template)
void
removeExcluded(AppointmentTemplate template)
void
setClient(Mandant client)
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
-
-
-
-
Field Detail
-
ATTR_EXCLUDED
public static final String ATTR_EXCLUDED
JPA attribute name for thegetExcluded()
field.- See Also:
- Constant Field Values
-
-
Method Detail
-
addExcluded
public void addExcluded(AppointmentTemplate template)
- Parameters:
template
- The template for which to exclude this closing time.
-
isExcludedBy
public boolean isExcludedBy(AppointmentTemplate template)
- Parameters:
template
- TheAppointmentTemplate
to check.- Returns:
- Whether this closing time is excluded by the given template.
-
getClient
public Mandant getClient()
- Returns:
- The client to which this template belongs to.
-
getExcluded
public List<AppointmentTemplate> 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 public Mandant getMandant()
Deprecated.UsegetClient()
.- Specified by:
getMandant
in interfaceIMandantDependent
- Returns:
- The client to which this template belongs to.
-
removeExcluded
public void removeExcluded(AppointmentTemplate template)
- Parameters:
template
- TheAppointmentTemplate
which may not be excluded of this closing time anymore.
-
setClient
public void setClient(Mandant client)
- Parameters:
client
- The client to which this template belongs to.
-
setExcluded
public void setExcluded(List<AppointmentTemplate> excluded)
- Parameters:
excluded
- The list ofAppointmentTemplate
which are excluded of this closing time. May only be not null ifMandant
is also not null.
-
cloneBasics
public AppointmentClientClosingTime cloneBasics()
- Returns:
- A copy of this closing time.
-
setMandant
@Deprecated public void setMandant(Mandant mandant)
Deprecated.UsesetClient(Mandant)
.- Specified by:
setMandant
in interfaceIMandantDependent
- Parameters:
mandant
- The client to which this template belongs to.
-
-