xml
Class Xml_Exam
java.lang.Object
xml.Xml_Core_ops_
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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