org.activemath.events.types
Class ExerciseActionEvent

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

public class ExerciseActionEvent
extends ActivemathEvent
implements InteractionExerciseEventTag

This class represents events triggered by user actions in the local tutorial dialogue exercise system. Note that the actions considered here are mathematical actions only, no dialogue actions.

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

Field Summary
protected  String actionDescription
          The identifier of the action executed by the learner, which in this case is the identifier of a differentiation (or simplification?
static String EVENT_TYPE
           
 
Fields inherited from class org.activemath.events.ActivemathEvent
bookId, groupId, id, sessionId, source, timestamp, type, userId
 
Constructor Summary
ExerciseActionEvent()
           
 
Method Summary
 String getActionDescription()
           
 String getItemId()
           
 String getSessionId()
           
 String getUserId()
           
 void setActionDescription(String actionDescription)
           
 void setItemId(String string)
           
 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

actionDescription

protected String actionDescription
The identifier of the action executed by the learner, which in this case is the identifier of a differentiation (or simplification? rule).

Constructor Detail

ExerciseActionEvent

public ExerciseActionEvent()
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

getActionDescription

public String getActionDescription()
Returns:
Returns the actionDescription.

setActionDescription

public void setActionDescription(String actionDescription)
Parameters:
actionDescription - The actionDescription to set.

getItemId

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

setItemId

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