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 StringATTR_EXCLUDEDJPA 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_CLIENT, 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, NULLABLE_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 voidaddExcluded(AppointmentTemplate template)AppointmentClientClosingTimecloneBasics()MandantgetClient()List<AppointmentTemplate>getExcluded()MandantgetMandant()Deprecated.UsegetClient().booleanisExcludedBy(AppointmentTemplate template)voidremoveExcluded(AppointmentTemplate template)voidsetClient(Mandant client)voidsetExcluded(List<AppointmentTemplate> excluded)voidsetMandant(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- TheAppointmentTemplateto 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 
AppointmentTemplatewhich are excluded of this closing time. May only be not null ifMandantis also not null. 
 
- 
getMandant
@Deprecated public Mandant getMandant()
Deprecated.UsegetClient().- Specified by:
 getMandantin interfaceIMandantDependent- Returns:
 - The client to which this template belongs to.
 
 
- 
removeExcluded
public void removeExcluded(AppointmentTemplate template)
- Parameters:
 template- TheAppointmentTemplatewhich 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 ofAppointmentTemplatewhich are excluded of this closing time. May only be not null ifMandantis 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:
 setMandantin interfaceIMandantDependent- Parameters:
 mandant- The client to which this template belongs to.
 
 - 
 
 -