com.antelmann.mgmt
Class DBUpdateEvent
java.lang.Object
java.util.EventObject
com.antelmann.mgmt.DBUpdateEvent
- All Implemented Interfaces:
- Serializable
public class DBUpdateEvent
- extends EventObject
- Author:
- Holger Antelmann
- See Also:
- Serialized Form
DBUpdateEvent
public DBUpdateEvent(DBClassStore<?> source,
DBUpdateEvent.UpdateType type,
Resource resource)
getUser
public User getUser()
- returns the user that was associated with the database of the source while this event was created
getSource
public DBClassStore<?> getSource()
- returns the store that updated the database.
- Overrides:
getSource in class EventObject
getResource
public Resource getResource()
- returns the actual object that was inserted, updated or deleted
getType
public DBUpdateEvent.UpdateType getType()
- indicates whether it was an update, insert or delete
(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads