org.sakaiproject.sitestats.impl
Class EventStatImpl

java.lang.Object
  extended by org.sakaiproject.sitestats.impl.EventStatImpl
All Implemented Interfaces:
Serializable, EventStat, Stat

public class EventStatImpl
extends Object
implements EventStat, Serializable

Author:
Nuno Fernandes
See Also:
Serialized Form

Constructor Summary
EventStatImpl()
          Minimal constructor.
EventStatImpl(long id, String siteId, String userId, String eventId, long count, Date date)
          Full constructor.
EventStatImpl(String siteId, long count)
          Default constructor.
 
Method Summary
 boolean equalExceptForCount(Object o)
           
 boolean equals(Object o)
           
 long getCount()
           
 Date getDate()
           
 String getEventId()
           
 long getId()
           
 String getSiteId()
           
 String getToolId()
           
 String getUserId()
           
 int hashCode()
           
 void setCount(long count)
           
 void setDate(Date date)
           
 void setEventId(String eventId)
           
 void setId(long id)
           
 void setSiteId(String siteId)
           
 void setToolId(String toolId)
           
 void setUserId(String userId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventStatImpl

public EventStatImpl()
Minimal constructor.


EventStatImpl

public EventStatImpl(String siteId,
                     long count)
Default constructor.


EventStatImpl

public EventStatImpl(long id,
                     String siteId,
                     String userId,
                     String eventId,
                     long count,
                     Date date)
Full constructor.

Method Detail

setId

public void setId(long id)
Specified by:
setId in interface Stat

getId

public long getId()
Specified by:
getId in interface Stat

getUserId

public String getUserId()
Specified by:
getUserId in interface Stat

setUserId

public void setUserId(String userId)
Specified by:
setUserId in interface Stat

getSiteId

public String getSiteId()
Specified by:
getSiteId in interface Stat

setSiteId

public void setSiteId(String siteId)
Specified by:
setSiteId in interface Stat

getEventId

public String getEventId()
Specified by:
getEventId in interface EventStat

setEventId

public void setEventId(String eventId)
Specified by:
setEventId in interface EventStat

getToolId

public String getToolId()
Specified by:
getToolId in interface EventStat

setToolId

public void setToolId(String toolId)
Specified by:
setToolId in interface EventStat

getCount

public long getCount()
Specified by:
getCount in interface Stat

setCount

public void setCount(long count)
Specified by:
setCount in interface Stat

getDate

public Date getDate()
Specified by:
getDate in interface Stat

setDate

public void setDate(Date date)
Specified by:
setDate in interface Stat

equals

public boolean equals(Object o)
Overrides:
equals in class Object

equalExceptForCount

public boolean equalExceptForCount(Object o)
Specified by:
equalExceptForCount in interface EventStat

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2012 Universidade Fernando Pessoa. All Rights Reserved.