Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.openolas.datamodel.cmi
Class CMIInteractionData  view CMIInteractionData download CMIInteractionData.java

java.lang.Object
  extended byorg.openolas.datamodel.cmi.CMICategory
      extended byorg.openolas.datamodel.cmi.CMIInteractionData
All Implemented Interfaces:
java.io.Serializable

public class CMIInteractionData
extends CMICategory
implements java.io.Serializable


Field Summary
 java.util.Vector correct_responses
           
 Element id
           
private  boolean initialized
           
 Element latency
           
 java.util.Vector objectives
           
 Element result
           
 Element student_response
           
 Element time
           
 Element type
           
 Element weighting
           
 
Fields inherited from class org.openolas.datamodel.cmi.CMICategory
writeable
 
Constructor Summary
CMIInteractionData()
          Method: CMIInteractionData Input: none Output: none Description: Default Constructor
 
Method Summary
private  int getArrayIndex(java.lang.String token, CMIRequest theRequest, DMErrorManager dmErrorMgr)
          Method: getArrayIndex Input: String token - array index as a string CMIRequest theRequest - tokenized LMSGetValue() request DMErrorManager dmErrorMgr - Error Manager Output: int - array index from the request Description: This method determines the array index based on the request.
 java.util.Vector getCorrectResponses()
           
 java.lang.String getCount(CMIRequest theRequest, DMErrorManager dmErrorMgr)
          Method: getCount Input: CMIRequest theRequest - tokenized LMSGetValue() request Output: String - the count of records matching the request Description:
 Element getID()
          Here are the accessers for the CMIInteractionData class.
 Element getLatency()
           
 java.util.Vector getObjID()
           
 Element getResult()
           
 Element getStudentResponse()
           
 Element getTime()
           
 Element getType()
           
 Element getWeighting()
           
 boolean isInitialized()
           
 void performSet(CMIRequest theRequest, DMErrorManager dmErrorMgr)
          Method: performSet Input: CMIRequest theRequest - tokenized LMSSetValue() request Output: none Description: This method performs all the necessary steps for an LMSSetValue() request
private  void performSetForObjID(java.lang.String token, CMIRequest theRequest, DMErrorManager dmErrorMgr)
          Method: performSetForObjID Input: String token - Array index as a token (String) CMIRequest theRequest - tokenized LMSSetValue() request DMErrorManager dmErrorMgr - Error Manager Output: none Description: This method takes the necessary steps to set the Objective IDs for the Interaction Data
private  void performSetForResponse(java.lang.String token, CMIRequest theRequest, DMErrorManager dmErrorMgr)
          Method: performSetForResponse Input: String token - Array index as a token (String) CMIRequest theRequest - tokenized LMSSetValue() request DMErrorManager dmErrorMgr - Error Manager Output: none Description: This method takes the necessary steps to set the Response for the Interaction Data** Input: String
 void setCorrectResponses(CMIResponse inResponse, int index)
           
 void setID(java.lang.String inId)
          Here are the modifiers for the CMIInteractionData class.
 void setLatency(java.lang.String inLatency)
           
 void setObjID(java.lang.String inObjId, int index)
           
 void setResult(java.lang.String inResult)
           
 void setStudentResponse(java.lang.String inStudentResponse)
           
 void setTime(java.lang.String inTime)
           
 void setType(java.lang.String inType)
           
 void setWeighting(java.lang.String inWeighting)
           
 
Methods inherited from class org.openolas.datamodel.cmi.CMICategory
determineElementValue, doSet, isWriteable, validateType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public Element id

objectives

public java.util.Vector objectives

time

public Element time

type

public Element type

correct_responses

public java.util.Vector correct_responses

weighting

public Element weighting

student_response

public Element student_response

result

public Element result

latency

public Element latency

initialized

private boolean initialized
Constructor Detail

CMIInteractionData

public CMIInteractionData()
Method: CMIInteractionData Input: none Output: none Description: Default Constructor

Method Detail

getID

public Element getID()
Here are the accessers for the CMIInteractionData class. AUs should not invoke these methods. AUs should call LMSGetValue()


getLatency

public Element getLatency()

getResult

public Element getResult()

getStudentResponse

public Element getStudentResponse()

getTime

public Element getTime()

getType

public Element getType()

getWeighting

public Element getWeighting()

getObjID

public java.util.Vector getObjID()

getCorrectResponses

public java.util.Vector getCorrectResponses()

setID

public void setID(java.lang.String inId)
Here are the modifiers for the CMIInteractionData class. AUs should not invoke these methods. AUs should call LMSSetValue().


setLatency

public void setLatency(java.lang.String inLatency)

setResult

public void setResult(java.lang.String inResult)

setStudentResponse

public void setStudentResponse(java.lang.String inStudentResponse)

setTime

public void setTime(java.lang.String inTime)

setType

public void setType(java.lang.String inType)

setWeighting

public void setWeighting(java.lang.String inWeighting)

setObjID

public void setObjID(java.lang.String inObjId,
                     int index)

setCorrectResponses

public void setCorrectResponses(CMIResponse inResponse,
                                int index)

isInitialized

public boolean isInitialized()

performSet

public void performSet(CMIRequest theRequest,
                       DMErrorManager dmErrorMgr)
Method: performSet Input: CMIRequest theRequest - tokenized LMSSetValue() request Output: none Description: This method performs all the necessary steps for an LMSSetValue() request


performSetForObjID

private void performSetForObjID(java.lang.String token,
                                CMIRequest theRequest,
                                DMErrorManager dmErrorMgr)
Method: performSetForObjID Input: String token - Array index as a token (String) CMIRequest theRequest - tokenized LMSSetValue() request DMErrorManager dmErrorMgr - Error Manager Output: none Description: This method takes the necessary steps to set the Objective IDs for the Interaction Data


performSetForResponse

private void performSetForResponse(java.lang.String token,
                                   CMIRequest theRequest,
                                   DMErrorManager dmErrorMgr)
Method: performSetForResponse Input: String token - Array index as a token (String) CMIRequest theRequest - tokenized LMSSetValue() request DMErrorManager dmErrorMgr - Error Manager Output: none Description: This method takes the necessary steps to set the Response for the Interaction Data** Input: String


getArrayIndex

private int getArrayIndex(java.lang.String token,
                          CMIRequest theRequest,
                          DMErrorManager dmErrorMgr)
Method: getArrayIndex Input: String token - array index as a string CMIRequest theRequest - tokenized LMSGetValue() request DMErrorManager dmErrorMgr - Error Manager Output: int - array index from the request Description: This method determines the array index based on the request.


getCount

public java.lang.String getCount(CMIRequest theRequest,
                                 DMErrorManager dmErrorMgr)
Method: getCount Input: CMIRequest theRequest - tokenized LMSGetValue() request Output: String - the count of records matching the request Description: