net.spy.digg.parsers
Class EventImpl

java.lang.Object
  extended by net.spy.digg.parsers.EventImpl
All Implemented Interfaces:
java.io.Serializable, Event
Direct Known Subclasses:
CommentImpl

public class EventImpl
extends java.lang.Object
implements Event, java.io.Serializable

An event.

See Also:
Serialized Form

Method Summary
 int getEventId()
          Get the ID of this event.
 java.lang.String getStatus()
          Get the status of this event.
 int getStoryId()
          Get the ID of the story this event references.
 long getTimestamp()
          Get the timestamp at which this event occurred.
 java.lang.String getUser()
          Get the name of the user referenced by this event.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getTimestamp

public long getTimestamp()
Description copied from interface: Event
Get the timestamp at which this event occurred.

Specified by:
getTimestamp in interface Event

getEventId

public int getEventId()
Description copied from interface: Event
Get the ID of this event.

Specified by:
getEventId in interface Event

getStatus

public java.lang.String getStatus()
Description copied from interface: Event
Get the status of this event.

Specified by:
getStatus in interface Event

getStoryId

public int getStoryId()
Description copied from interface: Event
Get the ID of the story this event references.

Specified by:
getStoryId in interface Event

getUser

public java.lang.String getUser()
Description copied from interface: Event
Get the name of the user referenced by this event.

Specified by:
getUser in interface Event

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object