|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.inspera.services.pedal.sequencing.SequencingEngine
public class SequencingEngine
SequencingEngine is the engine that sequences LearningObject in the sequencing chain.
Field Summary | |
---|---|
protected SequencingChain |
chain
The sequencing chain. |
protected SequencingMetadataItem |
learningStyle
The user's learning style. |
protected java.util.Map<java.lang.Long,PEDAL.Level> |
levels
A map of user level for each module. |
Constructor Summary | |
---|---|
SequencingEngine()
|
Method Summary | |
---|---|
java.lang.String |
getLearningStyleProp()
Returns the learning style metadata element. |
java.lang.String |
getLearningStyleValue()
Returns a logical identifier for user's learning style. |
java.lang.String |
getLevelValue(long moduleId)
Returns user's level for the specified module. |
Module |
getModule(long moduleId)
Returns the module identified by specified moduleId. |
LearningObject |
sequence(Module module)
Causes the sequencing of LearningObjects in the chain. |
java.lang.String |
toString()
Returns string representation of this object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected SequencingChain chain
protected SequencingMetadataItem learningStyle
protected java.util.Map<java.lang.Long,PEDAL.Level> levels
Constructor Detail |
---|
public SequencingEngine()
Method Detail |
---|
public java.lang.String getLearningStyleValue()
public java.lang.String getLevelValue(long moduleId)
moduleId
- module identifier
public java.lang.String getLearningStyleProp()
public Module getModule(long moduleId)
moduleId
- the identifier of the module.
public java.lang.String toString()
toString
in class java.lang.Object
public LearningObject sequence(Module module)
module
- LearningObjects in the module to be sequenced
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |