|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object data.CorrectionData data.CorrectionData_MC
public class CorrectionData_MC
Das konkrete CorrectionData Objekt für MultipleChoice-Aufgaben. Ist nicht, wie Student-Ojekt persistent, sondern besitzt maximal Request-Scope.
Nested Class Summary | |
---|---|
class |
CorrectionData_MC.MCElementHandler
Klasse zum Zugriff auf die Datenstruktur des "mc"-Tags. |
Field Summary |
---|
Fields inherited from class data.CorrectionData |
---|
CORRECTED, CORRECTING, CorrectionFieldID, CorrectorFieldID, INPROGRESS, NOTSOLVED, PointsFieldID, SeriesFieldID, SolutionFieldID, SOLVED, StatusFieldID |
Constructor Summary | |
---|---|
CorrectionData_MC(int serienID,
Element seriesElement,
data.Student student)
|
Method Summary | |
---|---|
boolean |
canContinue()
Kann ein evtl. vorhandener letzter Versuch fortgesetzt werden? |
boolean |
canStartNewTry()
Kann der Student einen neuen Lösungsversuch starten? |
void |
continueTry()
Lösungsversuch fortsetzen. |
java.lang.String |
getAnswerLink()
|
java.lang.String |
getCorrectedAnswerLink()
|
CorrectionData_MC.MCElementHandler |
getMCElementHandler()
|
TaskFileHandler |
getTaskFileHandler()
|
void |
newTry()
Neuen Lösungsversuch erstellen. |
void |
save(java.util.Map formData,
java.lang.String formHash)
Bearbeitungsstand zwischenspeichern. |
float |
submitSolution(java.util.Map formData,
java.lang.String formHash)
Lösungsversuch abschicken und Punktzahl berechnen. |
Methods inherited from class data.CorrectionData |
---|
getCorrector, getDescription, getFieldDescriptions, getFieldValue, getIcon, getIdentification, getPoints, getSeries, getSeriesID, getStatus, getStudent, getStudentLogin, getSubNodes, isFolder, RadioButtonSelectable, setStatus |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CorrectionData_MC(int serienID, Element seriesElement, data.Student student)
serienID
- seriesElement
- student
- Method Detail |
---|
public java.lang.String getAnswerLink()
getAnswerLink
in class CorrectionData
CorrectionData.getAnswerLink()
public java.lang.String getCorrectedAnswerLink()
getCorrectedAnswerLink
in class CorrectionData
CorrectionData.getCorrectedAnswerLink()
public boolean canStartNewTry()
public void newTry() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- falls max. Versuche abgelaufenpublic boolean canContinue()
public void save(java.util.Map formData, java.lang.String formHash) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public void continueTry() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- falls Bearbeitungszeit abgelaufenpublic float submitSolution(java.util.Map formData, java.lang.String formHash) throws java.lang.IllegalStateException
formData
- formHash
-
java.lang.IllegalStateException
public CorrectionData_MC.MCElementHandler getMCElementHandler()
public TaskFileHandler getTaskFileHandler()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |