Package de.nak.notendb.model

Examples of de.nak.notendb.model.Dozent


    this.dozentDAO = dozentDAO;
  }

  @Override
  public Dozent ladeDozent(Long dozentId) throws DozentNichtGefundenException {
    Dozent dozent = dozentDAO.lade(dozentId);
    if (dozent == null) {
      throw new DozentNichtGefundenException();
    }
    return dozent;
  }
View Full Code Here


    studentService.speichere(testStudent18);
    studentService.speichere(testStudent19);

    // ********************************************************************************
    // Dozenten anlegen
    Dozent testDozent1 = new Dozent();
    testDozent1.setNachname("Anft");
    testDozent1.setVorname("Stephan");

    Dozent testDozent2 = new Dozent();
    testDozent2.setNachname("Zimmermann");
    testDozent2.setVorname("Frank");
    testDozent2.setTitel("Prof. Dr.");

    Dozent testDozent3 = new Dozent();
    testDozent3.setNachname("Henning");
    testDozent3.setVorname("Lars");

    Dozent testDozent4 = new Dozent();
    testDozent4.setNachname("Brauer");
    testDozent4.setVorname("Johannes");
    testDozent4.setTitel("Prof. Dr.");

    Dozent testDozent5 = new Dozent();
    testDozent5.setNachname("Heini");
    testDozent5.setVorname("Heinz");

    Dozent testDozent6 = new Dozent();
    testDozent6.setNachname("Flunder");
    testDozent6.setVorname("Frankie");
    testDozent6.setTitel("Dr.");

    dozentService.speichere(testDozent1);
    dozentService.speichere(testDozent2);
    dozentService.speichere(testDozent3);
    dozentService.speichere(testDozent4);
View Full Code Here

TOP

Related Classes of de.nak.notendb.model.Dozent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.