org.problets.domain.template
Class TemplateWithContext
java.lang.Object
org.problets.domain.template.Template
org.problets.domain.template.TemplateWithContext
- All Implemented Interfaces:
- java.lang.Cloneable
public class TemplateWithContext
- extends Template
Enhances a Template object with context -
pre/prac/post-test, type of feedback, etc.
- Author:
- Amruth Kumar
Methods inherited from class org.problets.domain.template.Template |
clone, getAntecedent, getCompleteTemplate, getConjuncts, getDisjuncts, getHardness, getIfCorrect, getIfWrong, getInstructions, getProblemType, getTemplate, getTemplateNumber, match, matchConjuncts, matchDisjuncts, setInstructions, setTemplate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRETEST
public static final int PRETEST
- See Also:
- Constant Field Values
PRACTICE
public static final int PRACTICE
- See Also:
- Constant Field Values
POSTTEST
public static final int POSTTEST
- See Also:
- Constant Field Values
TemplateWithContext
public TemplateWithContext(Template reference,
int inStageType,
Configuration inConfiguration,
java.lang.String inLearnObj)
getStageType
public java.lang.String getStageType()
- Returns the stage name as a string
isStageType
public boolean isStageType(int inStageType)
- Confirm whether this template is for a particular stage type
getSpecificLearnObj
public java.lang.String getSpecificLearnObj()
- Returns the specific learning objective for which this template was chosen
setConfiguration
public void setConfiguration(Configuration newConfiguration)
print
public void print()
- Overrides:
print
in class Template
getStatus
public java.lang.String getStatus()
main
public static void main(java.lang.String[] args)