org.activemath.events.types
Class DictSearchedEvent

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

public class DictSearchedEvent
extends ActivemathEvent
implements InteractionDictionaryEventTag

Event: dictionary search

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
DictSearchedEvent()
           
DictSearchedEvent(OJElement query, int numResults)
           
DictSearchedEvent(String query, int numResults)
           
 
Method Summary
 int getNumResults()
           
 String getQuery()
           
 OJElement getQueryOJE()
           
 String getSessionId()
           
 String getUserId()
           
 void setNumResults(int value)
           
 void setQuery(String query)
           
 void setQueryOJE(OJElement queryOJE)
           
 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

DictSearchedEvent

public DictSearchedEvent()

DictSearchedEvent

public DictSearchedEvent(String query,
                         int numResults)

DictSearchedEvent

public DictSearchedEvent(OJElement query,
                         int numResults)
Method Detail

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

getQuery

public String getQuery()

setQuery

public void setQuery(String query)

getQueryOJE

public OJElement getQueryOJE()

setQueryOJE

public void setQueryOJE(OJElement queryOJE)

toString

public String toString()
Overrides:
toString in class ActivemathEvent