Package data

Examples of data.Person


    session.save(m);
    session.getTransaction().commit();

    session.beginTransaction();
   
    Person p1 = new Person();
    p1.setAdresse("Informatikum");
    p1.setNachname("Mustermann");
    p1.setVorname("Erika");
   
   
    Person p2 = new Person();
    p2.setAdresse("Reeperbahn 9");
    p2.setNachname("Albers");
    p2.setVorname("Hans");
   
    session.save(p1);
    session.save(p2);
   
    //TODO: Diese Personen werden im Speicher und der DB gehalten
View Full Code Here


    void beginRender() {
        integerSource = Arrays.asList(1, 3, 5, 7, 11);
        personSource = new ArrayList<Person>();

        Person person = new Person();
        person.setAge(25);
        person.setName("John Doe");
        personSource.add(person);

        person = new Person();
        person.setAge(53);
        person.setName("Jane Dover");
        personSource.add(person);

        person = new Person();
        person.setAge(13);
        person.setName("James Jackson");
        personSource.add(person);
    }
View Full Code Here

    @InjectPage
    private NestedBeanDisplay display;

    void onPrepare()
    {
        parent = new Person();
        parent.setChild(new Person());
    }
View Full Code Here

TOP

Related Classes of data.Person

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.