Package org.eclipse.nebula.widgets.nattable.examples.data.person

Examples of org.eclipse.nebula.widgets.nattable.examples.data.person.Person


                address.setStreet("Some Street");
                address.setHousenumber(42);
                address.setPostalCode(12345);
                address.setCity("In the clouds");

                Person person = new Person(42, "Ralph", "Wiggum", Gender.MALE,
                        false, new Date());
                ExtendedPersonWithAddress entry = new ExtendedPersonWithAddress(
                        person, address, "0000", "The little Ralphy",
                        PersonService.createRandomMoneyAmount(),
                        new ArrayList<String>(), new ArrayList<String>());
                bodyLayerStack.getEventList().add(entry);

                person = new Person(42, "Clancy", "Wiggum", Gender.MALE, true,
                        new Date());
                entry = new ExtendedPersonWithAddress(person, address, "XXXL",
                        "It is Chief Wiggum", PersonService
                                .createRandomMoneyAmount(),
                        new ArrayList<String>(), new ArrayList<String>());
                bodyLayerStack.getEventList().add(entry);

                person = new Person(42, "Sarah", "Wiggum", Gender.FEMALE, true,
                        new Date());
                entry = new ExtendedPersonWithAddress(person, address, "mommy",
                        "Little Ralphy's mother", PersonService
                                .createRandomMoneyAmount(),
                        new ArrayList<String>(), new ArrayList<String>());
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.examples.data.person.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.