@Entity public class AppointmentType extends AbstractLockableEntity implements IUUIDEntity
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_APPOINTMENT_TEMPLATE
JPA attribute name for the
getAppointmentTemplate() field. |
static String |
ATTR_DURATION
JPA attribute name for the
getDuration() field. |
COL_LOCKINGVERSION, lockingVersionCOL_ID, idATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUIDIMPORT_ID, INVALID_ID| Constructor and Description |
|---|
AppointmentType() |
| Modifier and Type | Method and Description |
|---|---|
AppointmentTemplate |
getAppointmentTemplate() |
Duration |
getDuration() |
long |
getDurationMinutes() |
Long |
getId() |
String |
getUUID() |
UUID |
getUUIDObject() |
void |
setAppointmentTemplate(AppointmentTemplate appointmentTemplate) |
void |
setDuration(Duration duration) |
void |
setDurationMinutes(long minutes) |
void |
setUUID(String uuid) |
void |
setUUIDObject(UUID uuid) |
entityHasChanged, getLockingVersion, setLockingVersion, toStringasIntValue, isPersisted, setId, setIdcompareTo, equals, getDBTableName, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTopublic static final String ATTR_APPOINTMENT_TEMPLATE
getAppointmentTemplate() field.public static final String ATTR_DURATION
getDuration() field.public AppointmentTemplate getAppointmentTemplate()
public Duration getDuration()
public long getDurationMinutes()
getDuration() in minutes.public String getUUID()
getUUID in interface IUUIDEntitygetAppointmentTemplate(). That is, two appointment types belonging to two different appointment templates
may have the same UUID.public UUID getUUIDObject()
getUUIDObject in interface IUUIDEntitygetAppointmentTemplate(). That is, two appointment types belonging to two different appointment templates
may have the same UUID.public void setAppointmentTemplate(AppointmentTemplate appointmentTemplate)
appointmentTemplate - The appointment template to which this appointment type belongs to. A type cannot belong
to multiple appointment templates.public void setDuration(Duration duration)
duration - The duration an appointment of this type takes.public void setDurationMinutes(long minutes)
minutes - The new value for the getDuration() is minutes.public void setUUID(String uuid)
setUUID in interface IUUIDEntityuuid - A new unique UUID for this entity. Please note that this UUID is required to be unique only for a given
getAppointmentTemplate(). That is, two appointment types belonging to two different appointment templates
may have the same UUID.public void setUUIDObject(UUID uuid)
uuid - A new unique UUID for this entity. Please note that this UUID is required to be unique only for a given
getAppointmentTemplate(). That is, two appointment types belonging to two different appointment templates
may have the same UUID.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.