Package de.xima.fc.appointment
Class AppointmentRangeView
- java.lang.Object
-
- de.xima.fc.appointment.AppointmentRangeView
-
- All Implemented Interfaces:
IAppointmentRangeView
public class AppointmentRangeView extends Object implements IAppointmentRangeView
An implementation of aIAppointmentRangeView
that takes an existing appointment and reflects changes in that appointment.- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description AppointmentRangeView(Appointment appointment)
Creates a new appointment range view of the given appointment .Changes in the given appointment are reflected in this view.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getId()
long
getTimestampFrom()
long
getTimestampUntil()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.appointment.IAppointmentRangeView
getInstantFrom, getInstantUntil
-
-
-
-
Constructor Detail
-
AppointmentRangeView
public AppointmentRangeView(Appointment appointment)
Creates a new appointment range view of the given appointment .Changes in the given appointment are reflected in this view.- Parameters:
appointment
- Appointment for which to create a view..
-
-
Method Detail
-
getTimestampFrom
public long getTimestampFrom()
- Specified by:
getTimestampFrom
in interfaceIAppointmentRangeView
- Returns:
- The value of the underlying
Appointment.getTimestampFrom()
.
-
getTimestampUntil
public long getTimestampUntil()
- Specified by:
getTimestampUntil
in interfaceIAppointmentRangeView
- Returns:
- The value of the underlying
Appointment.getTimestampUntil()
.
-
getId
public Long getId()
- Specified by:
getId
in interfaceIAppointmentRangeView
- Returns:
- The value of the underlying
Appointment.getId()
.
-
-