|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LearnerModelInterface
This interface defines methods to extract data from a learner model needed by the course generator to perform it's task. A learner model needs a least to implement the methods related to knowledge and competencies.
| Field Summary | |
|---|---|
static int |
MASTERY_MAX
|
static int |
MASTERY_MIN
|
static int |
MASTERY_UNKNOWN
|
| Method Summary | |
|---|---|
boolean |
createModel(String userId)
|
boolean |
destroyModel(String userId)
|
boolean |
existsModel(String userId)
|
CompetencyLevel |
getCompetencyLevel(String userId,
String contentId)
Must return the competency level of the given user on the specified content item. |
CompetencyLevel |
getCompetencyLevel(String userId,
String contentId,
Competency competency)
Must return the competency level of the given user on the given content item,
with respect to the specified Competency. |
CompetencyLevel |
getCompetencyLevelByCompetencySystem(String userId,
String contentId,
String competencyId,
String competencySystemId)
Same as getCompetencyLevel(String userId, String contentId),
just that a specific competency system can be supplied relative to which the
competency level is returned |
int |
getKnowledgeValue(String userId,
String contentId)
Must return a value in [0..100] (0=worst, 100=best) describing the given user's knowledge about the specified content. |
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)
Must return an array of values in [0..100] as described in getKnowledgeValue(String, String), where
returnedArray[i] = getKnowledgeValue(userId, listOfContentIds.get(i). |
String |
getName()
Return name of the learner model. |
| Field Detail |
|---|
static final int MASTERY_UNKNOWN
static final int MASTERY_MIN
static final int MASTERY_MAX
| Method Detail |
|---|
boolean createModel(String userId)
boolean existsModel(String userId)
boolean destroyModel(String userId)
String getName()
int getKnowledgeValue(String userId,
String contentId)
userId - The id of the user to get the knowledge value ofcontentId - The id of the piece of content to get the knowledge value of.
int getKnowledgeValueByCompetencySystem(String userId,
String contentId,
String competency,
String competencySystemId)
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.
userId - The id of the user to get the knowledge value ofcompetency - 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".contentId - The id of the piece of content to get the knowledge value of.
int[] getKnowledgeValues(String userId,
List listOfContentIds)
getKnowledgeValue(String, String), where
returnedArray[i] = getKnowledgeValue(userId, listOfContentIds.get(i).
userId - 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
CompetencyLevel getCompetencyLevel(String userId,
String contentId)
competency level of the given user on the specified content item.
userId - The user to get the competency level ofcontentId - The id of the content item to get the competency level of
CompetencyLevel getCompetencyLevel(String userId,
String contentId,
Competency competency)
competency level of the given user on the given content item,
with respect to the specified Competency.
userId - 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
CompetencyLevel getCompetencyLevelByCompetencySystem(String userId,
String contentId,
String competencyId,
String competencySystemId)
getCompetencyLevel(String userId, String contentId),
just that a specific competency system can be supplied relative to which the
competency level is returned
userId - 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 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".
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||