org.activemath.events.types
Class HappinessEvent

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

public class HappinessEvent
extends ActivemathEvent
implements InteractionFeedbackEventTag

Event: user has given feedback about his happiness

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
HappinessEvent()
           
HappinessEvent(int value)
           
 
Method Summary
 String getSessionId()
           
 String getUserId()
           
 int getValue()
           
 void setSessionId(String string)
           
 void setUserId(String string)
           
 void setValue(int value)
           
 
Methods inherited from class org.activemath.events.ActivemathEvent
compareTo, dispatchFinished, getGroupId, getId, getItemId, getSource, getTimestamp, getType, setGroupId, setId, setItemId, setSource, setTimestamp, toString
 
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

HappinessEvent

public HappinessEvent()

HappinessEvent

public HappinessEvent(int value)
Method Detail

getValue

public int getValue()

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

setValue

public void setValue(int value)