org.sakaiproject.sitestats.impl
Class EventStatImpl
java.lang.Object
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
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.
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.