Examples of Student


Examples of com.umbrella.webapp.entity.Student

    public void init() {
        em = entityManagerFactory.createEntityManager();
    }

    public Student getDefaultStudent() {
        Student defaultStudent = new Student();
        defaultStudent.setName("Default Student");
        return defaultStudent;
    }
View Full Code Here

Examples of com.wgc.beans.Student

        this.getHibernateTemplate().delete(stu);
    }
   
    public Student findById(java.lang.String id) {

            Student stu = (Student)this.getHibernateTemplate().get("com.wgc.beans.Student", id);
            return stu;

    }
View Full Code Here

Examples of de.nak.notendb.model.Student

    manipelService.speichere(testManipel5);
    manipelService.speichere(testManipel6);

    // ********************************************************************************
    // Studenten anlegen
    Student testStudent1 = new Student();
    testStudent1.setMatrikelNr(1234L);
    testStudent1.setNachname("Hansen");
    testStudent1.setVorname("Peterle");
    testStudent1.setManipel(testManipel1);

    Student testStudent2 = new Student();
    testStudent2.setMatrikelNr(1225L);
    testStudent2.setNachname("Beinhart");
    testStudent2.setVorname("Werner");
    testStudent2.setManipel(testManipel1);

    Student testStudent3 = new Student();
    testStudent3.setMatrikelNr(2237L);
    testStudent3.setNachname("Einstein");
    testStudent3.setVorname("Albert");
    testStudent3.setManipel(testManipel2);

    Student testStudent4 = new Student();
    testStudent4.setMatrikelNr(3234L);
    testStudent4.setNachname("Zimmerfrau");
    testStudent4.setVorname("Ursula");
    testStudent4.setManipel(testManipel3);

    Student testStudent5 = new Student();
    testStudent5.setMatrikelNr(4225L);
    testStudent5.setNachname("Özül");
    testStudent5.setVorname("Ingeborg");
    testStudent5.setManipel(testManipel5);

    Student testStudent6 = new Student();
    testStudent6.setMatrikelNr(1239L);
    testStudent6.setNachname("Teufel");
    testStudent6.setVorname("Maxi");
    testStudent6.setManipel(testManipel2);

    Student testStudent7 = new Student();
    testStudent7.setMatrikelNr(7000L);
    testStudent7.setNachname("Apfel");
    testStudent7.setVorname("Adam");
    testStudent7.setManipel(testManipel2);

    Student testStudent8 = new Student();
    testStudent8.setMatrikelNr(7001L);
    testStudent8.setNachname("Burg");
    testStudent8.setVorname("Berti");
    testStudent8.setManipel(testManipel2);

    Student testStudent9 = new Student();
    testStudent9.setMatrikelNr(7002L);
    testStudent9.setNachname("Cäsar");
    testStudent9.setVorname("Cem");
    testStudent9.setManipel(testManipel2);

    Student testStudent10 = new Student();
    testStudent10.setMatrikelNr(8000L);
    testStudent10.setNachname("Dorus");
    testStudent10.setVorname("Domian");
    testStudent10.setManipel(testManipel2);

    Student testStudent11 = new Student();
    testStudent11.setMatrikelNr(8002L);
    testStudent11.setNachname("Neumann");
    testStudent11.setVorname("Alfred E.");
    testStudent11.setManipel(testManipel2);

    Student testStudent12 = new Student();
    testStudent12.setMatrikelNr(8004L);
    testStudent12.setNachname("Kohl");
    testStudent12.setVorname("Helmut");
    testStudent12.setManipel(testManipel2);

    Student testStudent13 = new Student();
    testStudent13.setMatrikelNr(1L);
    testStudent13.setNachname("Law");
    testStudent13.setVorname("Murphys");
    testStudent13.setManipel(testManipel2);

    Student testStudent14 = new Student();
    testStudent14.setMatrikelNr(111L);
    testStudent14.setNachname("Mozart");
    testStudent14.setVorname("Wolfgang Amadeus");
    testStudent14.setManipel(testManipel6);

    Student testStudent15 = new Student();
    testStudent15.setMatrikelNr(112L);
    testStudent15.setNachname("Verdi");
    testStudent15.setVorname("Giuseppe");
    testStudent15.setManipel(testManipel6);

    Student testStudent16 = new Student();
    testStudent16.setMatrikelNr(3486L);
    testStudent16.setNachname("Foßhag");
    testStudent16.setVorname("Nils");
    testStudent16.setManipel(testManipel1);

    Student testStudent17 = new Student();
    testStudent17.setMatrikelNr(3437L);
    testStudent17.setNachname("Pertek");
    testStudent17.setVorname("Manuel");
    testStudent17.setManipel(testManipel1);

    Student testStudent18 = new Student();
    testStudent18.setMatrikelNr(3259L);
    testStudent18.setNachname("Pusch");
    testStudent18.setVorname("Julian");
    testStudent18.setManipel(testManipel1);

    Student testStudent19 = new Student();
    testStudent19.setMatrikelNr(3431L);
    testStudent19.setNachname("Stöcker");
    testStudent19.setVorname("Paul");
    testStudent19.setManipel(testManipel1);

    studentService.speichere(testStudent1);
    studentService.speichere(testStudent2);
    studentService.speichere(testStudent3);
    studentService.speichere(testStudent4);
View Full Code Here

Examples of dilanperera.rapidws.services.campus.admin.Student

  public int setupStudent(Student s1, int[] i1, float[] f1) {
    return 0;
  }

  public Student registerStudent(Name name, Address address, College college) {
    Student student = new Student();

    student.setId(1);
    student.setName(name);
    student.setAddress(address);
    student.setCollege(college);

    return student;
  }
View Full Code Here

Examples of examples.Student

    * @throws Exception
    */
   protected void init() throws Exception {
     
     
      mary_ = new Student();
      mary_.setName("Mary Smith");
     
      Address address = new Address();
      address.setStreet("456 Oak Drive");
      address.setCity("Pleasantville, CA");
      address.setZip(94555);
     
      mary_.setAddress(address);
     
     
      joe_ = new Student();
      joe_.setName("Joe Smith");
      joe_.setSchool("Engineering");
     
      // Mary and Joe have the same address     
      joe_.setAddress(address);
View Full Code Here

Examples of model.Student

        System.out.println(student10.toString() + " wurde erfolgreich von der " + lva4.toString2() + " abgemeldet.");
        lvaService.unregister(student12, lva4);
        System.out.println(student12.toString() + " wurde erfolgreich von der " + lva4.toString2() + " abgemeldet.");

        try {
            lvaService.unregister(new Student(1, "John", "Doe"), unknownLva);
            fail();
        } catch (AppointmentNotFoundException ex) {
            // This has to happen
        }

        try {
            lvaService.unregister(new Student(1, "John", "Doe"), lva1);
            fail();
        } catch (NotRegisteredException ex) {
            // This has to happen
        }

        try {
            lvaService.unregister(new Student(1, "John", "Doe"), lva3);
            fail();
        } catch (UnregisterPeriodOverException ex) {
            // This has to happen
        }

        try {    // aus der Lva kann man sich nicht mehr abmelden
            lvaService.unregister(new Student(12, "Christopher", "Turk"), lva6);
            fail();
        } catch (UnregisterPeriodOverException ex) {
            // This has to happen
        }
    }
View Full Code Here

Examples of net.sf.esims.model.entity.Student

          .createStudentDetailsFromApplicationForm(applicationForms
              .get(0));

      Date dateOfAdmission = new Date();

      Student studentToBeAdmitted = new Student(this.admissionNumber,
          this.applicationFormNumber, standardOfAdmission,
          dateOfAdmission, studentDetails);
      if (this.studentService
          .checkIfDuplicate(this.applicationFormNumber)) {
        message = EsimsUtils.createInfoMessage(this.getContext()
            .getContextPath(), "Form # "
            + studentToBeAdmitted.getApplicationFormNumber()
            + " already exists for another student");
      } else {
        this.studentService.save(studentToBeAdmitted);
        message = EsimsUtils.createInfoMessage(this.getContext()
            .getContextPath(), (studentToBeAdmitted
            .getStudentDetails().getFirstName()
            + " has been admitted to " + standardOfAdmission
            .getName()));
      }
    }
View Full Code Here

Examples of net.timwforce.dto.Student

  }


  private void doHibernateSimpleSave() {
    System.out.println("##### doHibernateSimpleSave - Starting ...");
    Student student = new Student();
    student.setName("John Doe");
    SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();
    Session session = sessionFactory.openSession();
    session.beginTransaction();
    session.save(student);
    session.getTransaction().commit();
View Full Code Here

Examples of nom.Student

    g.setNumeGrupa(numeGrupaTest);
    em.persist(g);
    int idGr = g.getIdGrupa();
    final int n = 10;
    for (int i = 0; i < n; i++) {
      Student s = new Student();
      s.setIdGrupa(idGr);
      s.setAnStudiu(anStudiuTest);
      s.setEmail(emailTest);
      s.setNrMatricol(String.valueOf(i));
      s.setNume(numeTest + String.valueOf(i));
      s.setPrenume(prenumeTest + String.valueOf(i));
      Catalog c = new Catalog();
      c.setIdStudent(s.getIdStudent());
      c.setDataNotei(new Date());
      c.setIdObiect(idObiectTest + i);
      c.setNota(notaTest);
      c.setNrPrezente(nrPrezenteTest);
      s.getCatalog().add(c);
      Orar o = new Orar();
      o.setData(new Date());
      o.setIdObiect(idObiectTest + i);
      o.setIntervalOrar(intervalOrarTest);
      o.setSalaCurs(salaCursTest);
View Full Code Here

Examples of org.apache.click.examples.domain.Student

    /**
     * @see FormTablePage#onSaveClick()
     */
    public boolean onSaveClick() {
        if (form.isValid()) {
            Student student = (Student) form.getDataObject();

            List courseIds = pickList.getSelectedValues();
            studentService.setStudentCourses(student, courseIds);

            saveDataObject(student);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.