data
Class CorrectionData

java.lang.Object
  extended by data.CorrectionData
All Implemented Interfaces:
DataNode, Listable
Direct Known Subclasses:
CorrectionData_MC, CorrectionData_Upload

public abstract class CorrectionData
extends java.lang.Object
implements DataNode, Listable

Repräsentiert die Korrekturinfos einer Serie eines Studenten.

Author:
Steffen Dienst, Thorsten Berger

Field Summary
static java.lang.String CORRECTED
           
static java.lang.String CORRECTING
           
static int CorrectionFieldID
           
static int CorrectorFieldID
           
static java.lang.String INPROGRESS
           
static java.lang.String NOTSOLVED
           
static int PointsFieldID
           
static int SeriesFieldID
           
static int SolutionFieldID
           
static java.lang.String SOLVED
           
static int StatusFieldID
           
 
Method Summary
abstract  java.lang.String getAnswerLink()
           
abstract  java.lang.String getCorrectedAnswerLink()
           
 java.lang.String getCorrector()
           
 java.lang.String getDescription()
           
 java.lang.String[] getFieldDescriptions()
          Enthält die Namen der Felder, die in der Kopfzeile stehen.
 java.lang.String getFieldValue(int i)
          Akt.
 java.lang.String getIcon()
           
 java.lang.String getIdentification()
           
 float getPoints()
           
 Series getSeries()
           
 int getSeriesID()
           
 java.lang.String getStatus()
           
 User getStudent()
           
 java.lang.String getStudentLogin()
           
 DataNode[] getSubNodes()
           
 boolean isFolder()
           
 boolean RadioButtonSelectable()
          Falls RadioButton gesetzt, ist der auch auswählbar?
 void setStatus(java.lang.String status)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOTSOLVED

public static java.lang.String NOTSOLVED

INPROGRESS

public static java.lang.String INPROGRESS

SOLVED

public static java.lang.String SOLVED

CORRECTING

public static java.lang.String CORRECTING

CORRECTED

public static java.lang.String CORRECTED

SeriesFieldID

public static int SeriesFieldID

StatusFieldID

public static int StatusFieldID

SolutionFieldID

public static int SolutionFieldID

PointsFieldID

public static int PointsFieldID

CorrectionFieldID

public static int CorrectionFieldID

CorrectorFieldID

public static int CorrectorFieldID
Method Detail

getFieldDescriptions

public java.lang.String[] getFieldDescriptions()
Description copied from interface: Listable
Enthält die Namen der Felder, die in der Kopfzeile stehen. Länge des Arrays bestimmt Anzahl Spalten.

Specified by:
getFieldDescriptions in interface Listable
Returns:

getFieldValue

public java.lang.String getFieldValue(int i)
Description copied from interface: Listable
Akt. Wert der Spalte zurückgeben

Specified by:
getFieldValue in interface Listable
Returns:

RadioButtonSelectable

public boolean RadioButtonSelectable()
Description copied from interface: Listable
Falls RadioButton gesetzt, ist der auch auswählbar?

Specified by:
RadioButtonSelectable in interface Listable
Returns:

getAnswerLink

public abstract java.lang.String getAnswerLink()

getCorrectedAnswerLink

public abstract java.lang.String getCorrectedAnswerLink()

getStatus

public java.lang.String getStatus()

setStatus

public void setStatus(java.lang.String status)

getCorrector

public java.lang.String getCorrector()

getPoints

public float getPoints()

getStudentLogin

public java.lang.String getStudentLogin()

getStudent

public User getStudent()
Returns:

getSeries

public Series getSeries()

getSubNodes

public DataNode[] getSubNodes()
Specified by:
getSubNodes in interface DataNode

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface DataNode

isFolder

public boolean isFolder()
Specified by:
isFolder in interface DataNode

getIdentification

public java.lang.String getIdentification()
Specified by:
getIdentification in interface DataNode

getIcon

public java.lang.String getIcon()
Specified by:
getIcon in interface DataNode
See Also:
xml.treenodes.DataNode#getIcon()

getSeriesID

public int getSeriesID()