Package org.andromda.timetracker.vo

Examples of org.andromda.timetracker.vo.PersonVO


        serviceLocator = ServiceLocator.instance();
        peopleService = serviceLocator.getPeopleService();
        timeTrackingService = serviceLocator.getTimeTrackingService();

        // Create people
        PersonVO naresh = createPerson("nbhatia", "Naresh", "Bhatia");
        PersonVO louis = createPerson("lcoude", "Louis", "Coude");
        PersonVO john = createPerson("jsmith", "John", "Smith");

        // Create tasks
        TaskVO research = createTask("Research");
        TaskVO development = createTask("Development");
View Full Code Here


        TimecardVO timecard1FromDB = timeTrackingService.getTimecard(timecard1.getId());
        showTimecard(timecard1FromDB);
    }

    private static PersonVO createPerson(String username, String firstName, String lastName) {
        PersonVO person = new PersonVO(null, username, firstName, lastName);
        person.setId(peopleService.createPerson(person));
        System.out.println("Person " + person.getId() + " created - " + person.getUsername());
        return person;
    }
View Full Code Here

        serviceLocator = ServiceLocator.instance();
        peopleService = serviceLocator.getPeopleService();
        timeTrackingService = serviceLocator.getTimeTrackingService();

        // Create people
        PersonVO naresh = createPerson("nbhatia", "Naresh", "Bhatia");
        PersonVO louis = createPerson("lcoude", "Louis", "Coude");
        PersonVO john = createPerson("jsmith", "John", "Smith");

        // Create tasks
        TaskVO research = createTask("Research");
        TaskVO development = createTask("Development");
View Full Code Here

        TimecardVO timecard1FromDB = timeTrackingService.getTimecard(timecard1.getId());
        showTimecard(timecard1FromDB);
    }

    private static PersonVO createPerson(String username, String firstName, String lastName) {
        PersonVO person = new PersonVO(null, username, firstName, lastName);
        person.setId(peopleService.createPerson(person));
        System.out.println("Person " + person.getId() + " created - " + person.getUsername());
        return person;
    }
View Full Code Here

TOP

Related Classes of org.andromda.timetracker.vo.PersonVO

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.