org.activemath.events.types
Class ExerciseHintProvisionEvent

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

public class ExerciseHintProvisionEvent
extends ActivemathEvent
implements InteractionExerciseEventTag

This class represents events triggered by the local tutorial dialogue exercise system providing some hint to the learner.

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

Field Summary
static String EVENT_TYPE
           
protected  String hintDescription
          The hint generated by the system to provide scaffolding help, e.g., "identify form of the statement" "apply the chain rule" etc.
 
Fields inherited from class org.activemath.events.ActivemathEvent
bookId, groupId, id, sessionId, source, timestamp, type, userId
 
Constructor Summary
ExerciseHintProvisionEvent()
           
ExerciseHintProvisionEvent(String itemId, String hintDescription)
           
 
Method Summary
 String getHintDescription()
           
 String getItemId()
           
 String getSessionId()
           
 String getUserId()
           
 void setHintDescription(String hintDescription)
           
 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

hintDescription

protected String hintDescription
The hint generated by the system to provide scaffolding help, e.g., "identify form of the statement" "apply the chain rule" etc. (requires mapping from hints to ids).

Constructor Detail

ExerciseHintProvisionEvent

public ExerciseHintProvisionEvent()

ExerciseHintProvisionEvent

public ExerciseHintProvisionEvent(String itemId,
                                  String hintDescription)
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

getHintDescription

public String getHintDescription()
Returns:
Returns the identifier of the action the expert system suggests the learner is having problems with.

setHintDescription

public void setHintDescription(String hintDescription)
Parameters:
hintDescription - Sets the identifier of the action the expert system suggests the learner is having problems with.

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