org.rapla.facade
Interface Conflict
- All Superinterfaces:
- Named, RaplaObject
public interface Conflict
- extends Named, RaplaObject
A conflict is the allocation of the same resource at the same time by different
reservations. There's one conflict for each resource and each overlapping of
two allocations. So if there are 3 reservations that allocate the same 2 resources
on 2 days of the week, then we got ( 3 * 2 ) * 2 * 2 = 24 conflicts. Thats
3 reservations, each conflicting with two other 2 reservations on 2 days with 2 resources.
- Version:
- 1.0
- Author:
- Christopher Kohlhaas
Methods inherited from interface org.rapla.entities.Named |
getName |
TYPE
static final RaplaType TYPE
CONFLICT_ARRAY
static final Conflict[] CONFLICT_ARRAY
getReservation1
Reservation getReservation1()
- Returns:
- the first Reservation, that is involed in the conflict.
getAppointment1
Appointment getAppointment1()
- The appointment of the first reservation, that causes the conflict.
getAllocatable
Allocatable getAllocatable()
- Returns:
- the allocatable, allocated for the same time by two different reservations.
getReservation2
Reservation getReservation2()
- Returns:
- the second Reservation, that is involed in the conflict.
getUser2
User getUser2()
- Returns:
- The User, who created the second Reservation.
getAppointment2
Appointment getAppointment2()
- The appointment of the second reservation, that causes the conflict.
Copyright © 2000-2006 Rapla Team. All Rights Reseserved.