org.activemath.events.types
Class SelfReportEvent
java.lang.Object
org.activemath.events.ActivemathEvent
org.activemath.events.types.SelfReportEvent
- All Implemented Interfaces:
- Serializable, Comparable, InteractionEventTag, InteractionFeedbackEventTag, ItemEventTag, SessionEventTag, UserEventTag
public class SelfReportEvent
- extends ActivemathEvent
- implements InteractionFeedbackEventTag, ItemEventTag
Event: user has given feedback about 3 affective factors:
- Liking/disliking: the level of attraction arising from the current object of attention of the learner
- Pride/shame: the level of attribution arising form the current actions of the learner
- Satisfaction/disapointment: the level of prospect arising from the consequences for the learner of the current events.
Each factor gives a percentag and must be in the range [0..100], with -1 indicating unset.
Used by xLM.
- See Also:
- Serialized Form
| Methods inherited from class org.activemath.events.ActivemathEvent |
compareTo, dispatchFinished, getGroupId, getId, getSource, getTimestamp, getType, setGroupId, setId, setSource, setTimestamp, toString |
EVENT_TYPE
public static final String EVENT_TYPE
- See Also:
- Constant Field Values
SelfReportEvent
public SelfReportEvent()
SelfReportEvent
public SelfReportEvent(String itemId)
setLiking
public void setLiking(int value)
setPride
public void setPride(int pride)
setSatisfaction
public void setSatisfaction(int satisfaction)
getLiking
public int getLiking()
- Returns:
- value [0.100], or -1 if unset.
getPride
public int getPride()
- Returns:
- value [0.100], or -1 if unset.
getSatisfaction
public int getSatisfaction()
- Returns:
- value [0.100], or -1 if unset.
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
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