org.activemath.events.types
Class ReportRequestedEvent

java.lang.Object
  extended by org.activemath.events.ActivemathEvent
      extended by org.activemath.events.types.ReportRequestedEvent
All Implemented Interfaces:
Serializable, Comparable, InteractionEventTag, SessionEventTag, UserEventTag

public class ReportRequestedEvent
extends ActivemathEvent
implements InteractionEventTag

Event: Track report usage by a new specific event.

See Also:
Serialized Form

Field Summary
static String EVENT_TYPE
           
 
Fields inherited from class org.activemath.events.ActivemathEvent
bookId, groupId, id, itemId, sessionId, source, timestamp, type, userId
 
Constructor Summary
ReportRequestedEvent()
           
ReportRequestedEvent(String reportType)
           
 
Method Summary
 int getNumEvents()
           
 int getNumResults()
           
 String getQuery()
           
 long getQueryTimeMillis()
           
 String getReportType()
           
 String getSessionId()
           
 String getUserId()
           
 void setNumEvents(int value)
           
 void setNumResults(int value)
           
 void setQuery(String query)
           
 void setQueryTimeMillis(long queryTimeMillis)
           
 void setReportType(String value)
           
 void setSessionId(String string)
           
 void setUserId(String string)
           
 String toString()
           
 
Methods inherited from class org.activemath.events.ActivemathEvent
compareTo, dispatchFinished, getGroupId, getId, getItemId, getSource, getTimestamp, getType, setGroupId, setId, setItemId, setSource, setTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.activemath.events.tags.UserEventTag
getGroupId, setGroupId
 

Field Detail

EVENT_TYPE

public static final String EVENT_TYPE
See Also:
Constant Field Values
Constructor Detail

ReportRequestedEvent

public ReportRequestedEvent()

ReportRequestedEvent

public ReportRequestedEvent(String reportType)
Method Detail

getReportType

public String getReportType()

setReportType

public void setReportType(String value)

getNumEvents

public int getNumEvents()

setNumEvents

public void setNumEvents(int value)

getNumResults

public int getNumResults()

setNumResults

public void setNumResults(int value)

getUserId

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

setUserId

public void setUserId(String string)
Specified by:
setUserId in interface UserEventTag

getSessionId

public String getSessionId()
Specified by:
getSessionId in interface SessionEventTag

setSessionId

public void setSessionId(String string)
Specified by:
setSessionId in interface SessionEventTag

getQueryTimeMillis

public long getQueryTimeMillis()

setQueryTimeMillis

public void setQueryTimeMillis(long queryTimeMillis)

getQuery

public String getQuery()

setQuery

public void setQuery(String query)

toString

public String toString()
Overrides:
toString in class ActivemathEvent