Package br.com.visualmidia.persistence.add

Examples of br.com.visualmidia.persistence.add.AddAndReturnStudent


    public void testRegistrationStudentBeforeEmployee() {
        String fName = "AAA";

        try {
            AddAndReturnStudent addStudent = new AddAndReturnStudent("4", "Zezinho", fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, null, new ArrayList<Occurrence>());
            system.executeAndQuery(addStudent);
        } catch (Exception e) {
            e.printStackTrace();
        }
View Full Code Here


        } catch (Exception e1) {
            e1.printStackTrace();
        }

        try {
            AddAndReturnStudent addStudent = new AddAndReturnStudent("5", "Luizinho", fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, null, new ArrayList<Occurrence>());
            system.executeAndQuery(addStudent);
        } catch (Exception e) {
            e.printStackTrace();
        }
View Full Code Here

       
        AddCourse addCourse = new AddCourse("1","Photoshop","100","10", 5, false);
        prevaylerToSave.execute(addCourse);
       
        String fName = "AAA";
        AddAndReturnStudent addStudent = new AddAndReturnStudent((String) GDSystem.getInstance().query(new GetPersonID()), "milhouse", fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, null, new ArrayList<Occurrence>());
        prevaylerToSave.execute(addStudent);
       
        AddAndReturnEmployee addEmployee = new AddAndReturnEmployee((String) GDSystem.getInstance().query(new GetPersonID()), "Havaiana", fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, null, fName, fName, fName, fName, fName, null, fName, fName, null, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName, fName);
        prevaylerToSave.execute(addEmployee);
       
View Full Code Here

        id = (String) system.query(new GetPersonID());
      }
           
            propertyChangeSupport.firePropertyChange("change", 0, 5);
           
      Person person = (Person) system.executeAndQuery(new AddAndReturnStudent(id,
          nameText.getText(),
          addressInfo.getStreet(),
          addressInfo.getStreetNumber(),
          addressInfo.getStreetComplement(),
          addressInfo.getNeighborhood(),
View Full Code Here

TOP

Related Classes of br.com.visualmidia.persistence.add.AddAndReturnStudent

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.