org.activemath.events.types
Class ExerciseHelpRequestEvent

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

public class ExerciseHelpRequestEvent
extends ActivemathEvent
implements InteractionExerciseEventTag

This class represents events triggered by the user requesting help in the local tutorial dialogue exercise system.

Version:
$Revision: 1.6 $
See Also:
Serialized Form

Field Summary
static String EVENT_TYPE
           
 
Fields inherited from class org.activemath.events.ActivemathEvent
bookId, groupId, id, sessionId, source, timestamp, type, userId
 
Constructor Summary
ExerciseHelpRequestEvent()
           
ExerciseHelpRequestEvent(String itemId, String problem)
           
 
Method Summary
 String getCurrentProblemDescription()
           
 String getItemId()
           
 String getSessionId()
           
 String getUserId()
           
 void setCurrentProblemDescription(String currentProblem)
           
 void setItemId(String itemId)
           
 void setSessionId(String sessionId)
           
 void setUserId(String userId)
           
 
Methods inherited from class org.activemath.events.ActivemathEvent
compareTo, dispatchFinished, getGroupId, getId, getSource, getTimestamp, getType, setGroupId, setId, 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

ExerciseHelpRequestEvent

public ExerciseHelpRequestEvent()

ExerciseHelpRequestEvent

public ExerciseHelpRequestEvent(String itemId,
                                String problem)
Method Detail

getUserId

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

setUserId

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

getSessionId

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

setSessionId

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

getCurrentProblemDescription

public String getCurrentProblemDescription()
Returns:
The mathematical expression the learner is having problems with.

setCurrentProblemDescription

public void setCurrentProblemDescription(String currentProblem)

getItemId

public String getItemId()
Specified by:
getItemId in interface ItemEventTag
Overrides:
getItemId in class ActivemathEvent

setItemId

public void setItemId(String itemId)
Specified by:
setItemId in interface ItemEventTag
Overrides:
setItemId in class ActivemathEvent