Search in sources :

Example 1 with Address

use of de.gishmo.gwt.example.mvp4g2.springboot.client.data.model.dto.Address in project mvp4g2-examples by mvp4g.

the class PersonService method initList.

private void initList() {
    Address address01 = new Address(1, "Evergreen Terrace", "7 42", "Springfield");
    persons.put(new Long(1), new Person(1, "Simpsons", "Homer", address01));
    persons.put(new Long(2), new Person(2, "Simpsons", "Marge", address01));
    persons.put(new Long(3), new Person(3, "Simpsons", "Bart", address01));
    persons.put(new Long(4), new Person(4, "Simpsons", "Maggie", address01));
    persons.put(new Long(5), new Person(5, "Simpsons", "Lisa", address01));
    Address address02 = new Address(2, "Blumenweg Nr. 13", "", "Entenhausen");
    persons.put(new Long(6), new Person(6, "Duck", "Donald", address02));
    persons.put(new Long(7), new Person(7, "Duck", "Trick", address02));
    persons.put(new Long(8), new Person(8, "Duck", "Tick", address02));
    persons.put(new Long(9), new Person(9, "Duck", "Tack", address02));
    Address address03 = new Address(2, "Am Goldberg Nr. 1", "", "Entenhausen");
    persons.put(new Long(10), new Person(10, "Duck", "Dagobert", address03));
}
Also used : Address(de.gishmo.gwt.example.mvp4g2.simpleapplication.client.data.model.dto.Address) Person(de.gishmo.gwt.example.mvp4g2.simpleapplication.client.data.model.dto.Person)

Example 2 with Address

use of de.gishmo.gwt.example.mvp4g2.springboot.client.data.model.dto.Address in project mvp4g2-examples by mvp4g.

the class PersonResource method initList.

private void initList() {
    Address address01 = new Address(1, "Evergreen Terrace", "7 42", "Springfield");
    persons.put(new Long(1), new Person(1, "Simpsons", "Homer", address01));
    persons.put(new Long(2), new Person(2, "Simpsons", "Marge", address01));
    persons.put(new Long(3), new Person(3, "Simpsons", "Bart", address01));
    persons.put(new Long(4), new Person(4, "Simpsons", "Maggie", address01));
    persons.put(new Long(5), new Person(5, "Simpsons", "Lisa", address01));
    Address address02 = new Address(2, "Blumenweg Nr. 13", "", "Entenhausen");
    persons.put(new Long(6), new Person(6, "Duck", "Donald", address02));
    persons.put(new Long(7), new Person(7, "Duck", "Trick", address02));
    persons.put(new Long(8), new Person(8, "Duck", "Tick", address02));
    persons.put(new Long(9), new Person(9, "Duck", "Tack", address02));
    Address address03 = new Address(2, "Am Goldberg Nr. 1", "", "Entenhausen");
    persons.put(new Long(10), new Person(10, "Duck", "Dagobert", address03));
}
Also used : Address(de.gishmo.gwt.example.mvp4g2.springboot.client.data.model.dto.Address) Person(de.gishmo.gwt.example.mvp4g2.springboot.client.data.model.dto.Person)

Example 3 with Address

use of de.gishmo.gwt.example.mvp4g2.springboot.client.data.model.dto.Address in project mvp4g2-examples by mvp4g.

the class PersonServiceImpl method initList.

private void initList() {
    Address address01 = new Address(1, "Evergreen Terrace", "7 42", "Springfield");
    persons.put(new Long(1), new Person(1, "Simpsons", "Homer", address01));
    persons.put(new Long(2), new Person(2, "Simpsons", "Marge", address01));
    persons.put(new Long(3), new Person(3, "Simpsons", "Bart", address01));
    persons.put(new Long(4), new Person(4, "Simpsons", "Maggie", address01));
    persons.put(new Long(5), new Person(5, "Simpsons", "Lisa", address01));
    Address address02 = new Address(2, "Blumenweg Nr. 13", "", "Entenhausen");
    persons.put(new Long(6), new Person(6, "Duck", "Donald", address02));
    persons.put(new Long(7), new Person(7, "Duck", "Trick", address02));
    persons.put(new Long(8), new Person(8, "Duck", "Tick", address02));
    persons.put(new Long(9), new Person(9, "Duck", "Tack", address02));
    Address address03 = new Address(2, "Am Goldberg Nr. 1", "", "Entenhausen");
    persons.put(new Long(10), new Person(10, "Duck", "Dagobert", address03));
}
Also used : Address(de.gishmo.gwt.example.mvp4g2.simpleapplication.shared.dto.Address) Person(de.gishmo.gwt.example.mvp4g2.simpleapplication.shared.dto.Person)

Aggregations

Address (de.gishmo.gwt.example.mvp4g2.simpleapplication.client.data.model.dto.Address)1 Person (de.gishmo.gwt.example.mvp4g2.simpleapplication.client.data.model.dto.Person)1 Address (de.gishmo.gwt.example.mvp4g2.simpleapplication.shared.dto.Address)1 Person (de.gishmo.gwt.example.mvp4g2.simpleapplication.shared.dto.Person)1 Address (de.gishmo.gwt.example.mvp4g2.springboot.client.data.model.dto.Address)1 Person (de.gishmo.gwt.example.mvp4g2.springboot.client.data.model.dto.Person)1