org.rapla.facade
Class AllocationChangeEvent
java.lang.Object
org.rapla.facade.AllocationChangeEvent
public class AllocationChangeEvent
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHANGE
public static AllocationChangeEvent.Type CHANGE
ADD
public static AllocationChangeEvent.Type ADD
REMOVE
public static AllocationChangeEvent.Type REMOVE
AllocationChangeEvent
public AllocationChangeEvent(AllocationChangeEvent.Type type,
User user,
Reservation newReservation,
Allocatable allocatable,
Appointment appointment)
AllocationChangeEvent
public AllocationChangeEvent(User user,
Reservation newReservation,
Allocatable allocatable,
Appointment newAppointment,
Appointment oldApp)
getType
public AllocationChangeEvent.Type getType()
- either Type.CHANE,Type.REMOVE or Type.ADD
getUser
public User getUser()
- returns the user-object, of the user that made the change.
Warning can be null
getAllocatable
public Allocatable getAllocatable()
getNewAppointment
public Appointment getNewAppointment()
getNewReservation
public Reservation getNewReservation()
getOldAppointment
public Appointment getOldAppointment()
- only available if type is "change"
Copyright © 2000-2006 Rapla Team. All Rights Reseserved.