model
Class Series

java.lang.Object
  extended by 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

Field Summary
static int DeadlineFieldID
           
static int DescIDFieldID
           
static int DownloadFieldID
           
static int IDFieldID
           
static int PointsFieldID
           
static java.lang.String TYPE_MC
           
static java.lang.String TYPE_UPLOAD
           
 
Constructor Summary
Series(int id, long deadline, float maxPoints, java.lang.String filename)
           
 
Method Summary
 boolean currentlyActive()
           
 long getDeadline()
           
 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 getFilename()
           
 int getId()
           
 float getMaxPoints()
           
 boolean RadioButtonSelectable()
          Falls RadioButton gesetzt, ist der auch auswählbar?
 void setDeadline(long l)
           
 void setFilename(java.lang.String string)
           
 void setMaxPoints(float i)
           
 java.lang.String toString(RequestInfo ri)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Series

public Series(int id,
              long deadline,
              float maxPoints,
              java.lang.String filename)
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:

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()