Package org.sakaiproject.sitestats.impl
Class EventStatImpl
- java.lang.Object
-
- org.sakaiproject.sitestats.impl.EventStatImpl
-
- All Implemented Interfaces:
Serializable,Comparable<EventStat>,EventStat,Stat
public class EventStatImpl extends Object implements EventStat, Serializable, Comparable<EventStat>
- Author:
- Nuno Fernandes
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(EventStat other)booleanequalExceptForCount(Object o)booleanequals(Object o)longgetCount()DategetDate()StringgetEventId()longgetId()StringgetSiteId()StringgetToolId()StringgetUserId()inthashCode()voidsetCount(long count)voidsetDate(Date date)voidsetEventId(String eventId)voidsetId(long id)voidsetSiteId(String siteId)voidsetToolId(String toolId)voidsetUserId(String userId)StringtoString()
-
-
-
Method Detail
-
getEventId
public String getEventId()
- Specified by:
getEventIdin interfaceEventStat
-
setEventId
public void setEventId(String eventId)
- Specified by:
setEventIdin interfaceEventStat
-
compareTo
public int compareTo(EventStat other)
- Specified by:
compareToin interfaceComparable<EventStat>
-
equalExceptForCount
public boolean equalExceptForCount(Object o)
- Specified by:
equalExceptForCountin interfaceEventStat
-
-