org.problets.services
Class PersistentSMManager

java.lang.Object
  extended by org.problets.services.PersistentSMManager

public class PersistentSMManager
extends java.lang.Object

Manages communication with all the persistent user models, such as Ramapo and Pittsburgh

Author:
Amruth Kumar

Constructor Summary
PersistentSMManager(java.lang.String PSMString)
          Constructs a manager to communicate with all the specified persistent student models
 
Method Summary
 void updateStudentModel(java.lang.String learnObj, boolean grade)
          Updates the persistent student model with the specified grade for the specified learning objective
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistentSMManager

public PersistentSMManager(java.lang.String PSMString)
Constructs a manager to communicate with all the specified persistent student models

Parameters:
PSMString - String containing a list of all persistent student models, separated by commas
Method Detail

updateStudentModel

public void updateStudentModel(java.lang.String learnObj,
                               boolean grade)
Updates the persistent student model with the specified grade for the specified learning objective

Parameters:
learnObj - String representing the learning objective for which credit is to be given
grade - True if student gets correct credit, and false if student gets incorrect credit