org.activemath.studentmodel2
Class PersistenceHelper
java.lang.Object
org.activemath.studentmodel2.PersistenceHelper
public class PersistenceHelper
- extends Object
XStream based persistence for SLM
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PERSISTENCE_VERSION
protected static final String PERSISTENCE_VERSION
- See Also:
- Constant Field Values
log
protected static Category log
PersistenceHelper
protected PersistenceHelper()
getInstance
public static PersistenceHelper getInstance()
loadSimulation
public StudentSimulator loadSimulation(String simulationId)
storeSimulation
public void storeSimulation(StudentSimulator sim)
loadModel
public AssessmentModel loadModel(String userId)
- Load a model (including evidences and affective model).
- Returns:
- Model, or
null if none found.