xml
Class Xml_Exam

java.lang.Object
  extended by xml.Xml_Core_ops_
      extended by xml.Xml_Exam

public class Xml_Exam
extends Xml_Core_ops_

Author:
Thorsten Berger TODO impl. als Bean, sodass andere Beans sich als PropertyChangedListener reg. können

Method Summary
 void addNewExam(Exam e)
           
 void deleteExam(int id)
           
 boolean examAvailable(int id)
           
 Exam[] getAllExams()
          Gibt alle Klausuren zurueck.
 Exam getExam(int id)
           
static Xml_Exam getInstance()
          gibt das singleton zurueck.
 int getMaxID()
           
 float getPointsOfAllSeries()
           
 void reconfigExam(Exam e)
           
 
Methods inherited from class xml.Xml_Core_ops_
look4
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Xml_Exam getInstance()
gibt das singleton zurueck.

Returns:

addNewExam

public void addNewExam(Exam e)
                throws Xml_setException
Throws:
Xml_setException

getMaxID

public int getMaxID()

examAvailable

public boolean examAvailable(int id)

getExam

public Exam getExam(int id)
             throws Xml_getException
Throws:
Xml_getException

reconfigExam

public void reconfigExam(Exam e)
                  throws Xml_setException
Throws:
Xml_setException

getPointsOfAllSeries

public float getPointsOfAllSeries()

getAllExams

public Exam[] getAllExams()
Gibt alle Klausuren zurueck.

Returns:
Array of Exams

deleteExam

public void deleteExam(int id)
                throws Xml_setException
Throws:
Xml_setException