|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.webapp.tools.data.GapDetectionLM
public class GapDetectionLM
Implementation of LearnerModelInterface that answers values
specified during a gap detection run for course generation .
| Field Summary | |
|---|---|
protected static Logger |
log
The logger for this class |
| Fields inherited from interface org.activemath.learner.model.LearnerModelInterface |
|---|
MASTERY_MAX, MASTERY_MIN, MASTERY_UNKNOWN |
| Constructor Summary | |
|---|---|
GapDetectionLM()
Constructor for interface instantiation by reflection |
|
GapDetectionLM(User user)
Main constructor |
|
| Method Summary | |
|---|---|
boolean |
createModel(String userId)
|
boolean |
destroyModel(String userId)
|
boolean |
existsModel(String userId)
|
CompetencyLevel |
getCompetencyLevel(String userId,
String contentId)
CompetencyLevel is an aggregate of LeAM competencies |
CompetencyLevel |
getCompetencyLevel(String userId,
String contentId,
Competency competency)
CompetencyLevel is an aggregate of LeAM competencies |
CompetencyLevel |
getCompetencyLevelByCompetencySystem(String userId,
String contentId,
String competencyId,
String competencySystemId)
CompetencyLevel is an aggregate of LeAM competencies |
int |
getDefaultMastery()
|
int |
getKnowledgeValue(String userId,
String contentId)
knowledge value = mastery returns the default mastery, if set |
int |
getKnowledgeValueByCompetencySystem(String userId,
String contentId,
String competency,
String competencySystemId)
Same as getKnowledgeValue(String userId, String contentId),
just that a specific competency system can be supplied relative and a competency
to which the knowledge value is returned. |
int[] |
getKnowledgeValues(String userId,
List listOfContentIds)
knowledge value = mastery returns the default mastery, if set, for every item |
Float |
getLearningDevelopement()
|
String |
getName()
Return name of the learner model. |
void |
setDefaultMastery(int defaultMastery)
|
void |
setLearningDevelopement(Float learningDevelopement)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Logger log
| Constructor Detail |
|---|
public GapDetectionLM(User user)
user - the userId of the tutor user who started the gap detection
data for learning development, default mastery and default
competencypublic GapDetectionLM()
| Method Detail |
|---|
public int getKnowledgeValue(String userId,
String contentId)
getKnowledgeValue in interface LearnerModelInterfaceuserId - The id of the user to get the knowledge value ofcontentId - The id of the piece of content to get the knowledge value of.
public int[] getKnowledgeValues(String userId,
List listOfContentIds)
getKnowledgeValues in interface LearnerModelInterfaceuserId - The id of the user to get the knowledge values oflistOfContentIds - a List containing the ids of the pieces of content to get the knowledge value of
public CompetencyLevel getCompetencyLevel(String userId,
String contentId)
getCompetencyLevel in interface LearnerModelInterfaceuserId - The user to get the competency level ofcontentId - The id of the content item to get the competency level of
public CompetencyLevel getCompetencyLevel(String userId,
String contentId,
Competency competency)
getCompetencyLevel in interface LearnerModelInterfaceuserId - The id of the user to get the competency level ofcontentId - The if of the piece of content to get the competency level ofcompetency - The target competency
public CompetencyLevel getCompetencyLevelByCompetencySystem(String userId,
String contentId,
String competencyId,
String competencySystemId)
getCompetencyLevelByCompetencySystem in interface LearnerModelInterfaceuserId - The id of the user to get the competency level ofcontentId - The if of the piece of content to get the competency level ofcompetencySystemId - - the Id of the competency system for which the
knowledge values (KV) shall be returned, e.g. return the KVs for "apply" and "model"
competencies of the PISA system - competencySystemId would hold "PISA".
public int getKnowledgeValueByCompetencySystem(String userId,
String contentId,
String competency,
String competencySystemId)
LearnerModelInterfacegetKnowledgeValue(String userId, String contentId),
just that a specific competency system can be supplied relative and a competency
to which the knowledge value is returned.
getKnowledgeValueByCompetencySystem in interface LearnerModelInterfaceuserId - The id of the user to get the knowledge value ofcontentId - The id of the piece of content to get the knowledge value of.competency - The target competencycompetencySystemId - - the Id of the competency system for which the
knowledge values (KV) shall be returned, e.g. return the KVs for "apply" and "model"
competencies of the PISA system - competencySystemId would hold "PISA".
public int getDefaultMastery()
public void setDefaultMastery(int defaultMastery)
public Float getLearningDevelopement()
public void setLearningDevelopement(Float learningDevelopement)
public boolean createModel(String userId)
createModel in interface LearnerModelInterfacepublic boolean destroyModel(String userId)
destroyModel in interface LearnerModelInterfacepublic boolean existsModel(String userId)
existsModel in interface LearnerModelInterfacepublic String getName()
LearnerModelInterface
getName in interface LearnerModelInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||