model
Class Series
java.lang.Object
model.Series
- All Implemented Interfaces:
- Listable
- Direct Known Subclasses:
- Series_MC, Series_Upload
public abstract class Series
- extends java.lang.Object
- implements Listable
Repräsentiert Übungsserie.
- Author:
- Thorsten Berger
Constructor Summary |
Series(int id,
long deadline,
float maxPoints,
java.lang.String filename)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_UPLOAD
public static final java.lang.String TYPE_UPLOAD
- See Also:
- Constant Field Values
TYPE_MC
public static final java.lang.String TYPE_MC
- See Also:
- Constant Field Values
DescIDFieldID
public static final int DescIDFieldID
- See Also:
- Constant Field Values
DeadlineFieldID
public static final int DeadlineFieldID
- See Also:
- Constant Field Values
PointsFieldID
public static final int PointsFieldID
- See Also:
- Constant Field Values
DownloadFieldID
public static final int DownloadFieldID
- See Also:
- Constant Field Values
IDFieldID
public static final int IDFieldID
- See Also:
- Constant Field Values
Series
public Series(int id,
long deadline,
float maxPoints,
java.lang.String filename)
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:
toString
public java.lang.String toString(RequestInfo ri)
getDeadline
public long getDeadline()
- Returns:
getFilename
public java.lang.String getFilename()
- Returns:
getId
public int getId()
- Returns:
getMaxPoints
public float getMaxPoints()
- Returns:
setDeadline
public void setDeadline(long l)
- Parameters:
l
-
setFilename
public void setFilename(java.lang.String string)
- Parameters:
string
-
setMaxPoints
public void setMaxPoints(float i)
- Parameters:
i
-
currentlyActive
public boolean currentlyActive()