Package rs.data.event

Class DaoEvent

java.lang.Object
java.util.EventObject
rs.data.event.DaoEvent
All Implemented Interfaces:
java.io.Serializable

public class DaoEvent
extends java.util.EventObject
Event that will be fired from a DAO.
Author:
ralph
See Also:
Serialized Form
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  DaoEvent.Type
    Type of event information.
  • Field Summary

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors 
    Constructor Description
    DaoEvent​(IGeneralDAO<?,​?> source, DaoEvent.Type type)
    Constructor for DELETE_ALL events.
    DaoEvent​(IGeneralDAO<?,​?> source, DaoEvent.Type type, IGeneralBO<?> object)
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    IGeneralBO<?> getObject()
    Returns the object.
    DaoEvent.Type getType()
    Returns the type.

    Methods inherited from class java.util.EventObject

    getSource, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DaoEvent

      public DaoEvent​(IGeneralDAO<?,​?> source, DaoEvent.Type type)
      Constructor for DELETE_ALL events.
      Parameters:
      source - - the source of the event
      type - - the type of event that is happening
    • DaoEvent

      public DaoEvent​(IGeneralDAO<?,​?> source, DaoEvent.Type type, IGeneralBO<?> object)
      Constructor.
      Parameters:
      source - - the source of the event
      type - - the type of event that is happening
      object - - the obbject that was affected
  • Method Details