canonical = new PersonImpl("canonical", "Shin Digg", name);
canonical.setAboutMe("I have an example of every piece of data");
canonical.setActivities(Lists.newArrayList("Coding Shindig"));
Address address = new AddressImpl(
"PoBox 3565, 1 OpenStandards Way, Apache, CA");
address.setCountry("US");
address.setLatitude(28.3043F);
address.setLongitude(143.0859F);
address.setLocality("who knows");
address.setPostalCode("12345");
address.setRegion("Apache, CA");
address.setStreetAddress("1 OpenStandards Way");
address.setType("home");
address.setFormatted("PoBox 3565, 1 OpenStandards Way, Apache, CA");
canonical.setAddresses(Lists.newArrayList(address));
canonical.setAge(33);
BodyTypeImpl bodyType = new BodyTypeImpl();
bodyType.setBuild("svelte");
bodyType.setEyeColor("blue");
bodyType.setHairColor("black");
bodyType.setHeight(1.84F); // meters as per spec
bodyType.setWeight(74F); // kg as per spec
canonical.setBodyType(bodyType);
canonical.setBooks(Lists.newArrayList("The Cathedral & the Bazaar",
"Catch 22"));
canonical.setCars(Lists.newArrayList("beetle", "prius"));
canonical.setChildren("3");
AddressImpl location = new AddressImpl();
location.setLatitude(48.858193F);
location.setLongitude(2.29419F);
canonical.setCurrentLocation(location);
canonical.setBirthday(new Date());
canonical.setDrinker(new EnumImpl<Drinker>(Drinker.SOCIALLY));
ListField email = new ListFieldImpl("work",
"dev@shindig.apache.org");
canonical.setEmails(Lists.newArrayList(email));
canonical.setEthnicity("developer");
canonical.setFashion("t-shirts");
canonical.setFood(Lists.newArrayList("sushi", "burgers"));
canonical.setGender(Person.Gender.male);
canonical.setHappiestWhen("coding");
canonical.setHasApp(true);
canonical
.setHeroes(Lists.newArrayList("Doug Crockford", "Charles Babbage"));
canonical.setHumor("none to speak of");
canonical.setInterests(Lists.newArrayList("PHP", "Java"));
canonical.setJobInterests("will work for beer");
Organization job1 = new OrganizationImpl();
job1.setAddress(new AddressImpl("1 Shindig Drive"));
job1.setDescription("lots of coding");
job1.setEndDate(new Date());
job1.setField("Software Engineering");
job1.setName("Apache.com");
job1.setSalary("$1000000000");
job1.setStartDate(new Date());
job1.setSubField("Development");
job1.setTitle("Grand PooBah");
job1.setWebpage("http://shindig.apache.org/");
job1.setType("job");
Organization job2 = new OrganizationImpl();
job2.setAddress(new AddressImpl("1 Skid Row"));
job2.setDescription("");
job2.setEndDate(new Date());
job2.setField("College");
job2.setName("School of hard Knocks");
job2.setSalary("$100");