001         package com.croftsoft.apps.chat.event;
002    
003         /*********************************************************************
004         * Abstract base class for events.
005         *
006         * @version
007         *   2003-06-18
008         * @since
009         *   2003-06-07
010         * @author
011         *   <a href="https://www.croftsoft.com/">David Wallace Croft</a>
012         *********************************************************************/
013    
014         public abstract class  AbstractEvent
015           implements Event
016         //////////////////////////////////////////////////////////////////////
017         //////////////////////////////////////////////////////////////////////
018         {
019    
020         private static final long  serialVersionUID = 0L;
021    
022         //
023    
024         private long  eventIndex;
025    
026         //////////////////////////////////////////////////////////////////////
027         //////////////////////////////////////////////////////////////////////
028    
029         public long  getEventIndex ( )
030         //////////////////////////////////////////////////////////////////////
031         {
032           return eventIndex;
033         }
034    
035         public void  setEventIndex ( long  eventIndex )
036         //////////////////////////////////////////////////////////////////////
037         {
038           this.eventIndex = eventIndex;
039         }
040    
041         //////////////////////////////////////////////////////////////////////
042         //////////////////////////////////////////////////////////////////////
043         }