return person;
}
private Person buildPersonTemplate(String personId) {
PersonDb person = new PersonDb();
person.setId(personId);
person.setAboutMe("");
person.setActivities(asList(""));
List<Address> addresses = new ArrayList<Address>();
PersonAddressDb address = new PersonAddressDb();
address.setCountry("");
address.setLatitude(0F);
address.setLongitude(0F);
address.setLocality("");
address.setPostalCode("");
address.setRegion("");
address.setStreetAddress("");
address.setType("");
address.setFormatted("");
// TODO This causes problems when converting back to json.
// address.setPerson(person);
addresses.add(address);
person.setAddresses(addresses);
person.setAge(0);
BodyTypeDb bodyType = new BodyTypeDb();
bodyType.setBuild("");
bodyType.setEyeColor("");
bodyType.setHairColor("");
bodyType.setHeight(0F);
bodyType.setWeight(0F);
person.setBodyType(bodyType);
person.setBooks(asList(""));
person.setCars(asList(""));
person.setChildren("");
AddressDb currentLocation = new AddressDb();
currentLocation.setLatitude(0F);
currentLocation.setLongitude(0F);
person.setCurrentLocation(currentLocation);
person.setBirthday(new Date());
person.setDisplayName("");
person.setDrinker(new EnumDb<Drinker>(Drinker.SOCIALLY));
List<ListField> emails = new ArrayList<ListField>();
EmailDb email = new EmailDb();
email.setValue("");
email.setType("");
emails.add(email);
person.setEmails(emails);
person.setEthnicity("");
person.setFashion("");
person.setFood(asList(""));
person.setGender(Person.Gender.male);
person.setHappiestWhen("");
person.setHasApp(true);
person.setHeroes(asList(""));
person.setHumor("");
person.setInterests(asList(""));
person.setJobInterests("");
List<Organization> organizations = new ArrayList<Organization>();
PersonOrganizationDb organization1 = new PersonOrganizationDb();
OrganizationAddressDb orgAddress1 = new OrganizationAddressDb();
orgAddress1.setFormatted("");
organization1.setAddress(orgAddress1);
organization1.setDescription("");
organization1.setEndDate(new Date());
organization1.setField("");
organization1.setName("");
organization1.setSalary("");
organization1.setStartDate(new Date());
organization1.setSubField("");
organization1.setTitle("");
organization1.setWebpage("");
organization1.setType("");
organizations.add(organization1);
person.setOrganizations(organizations);
person.setLanguagesSpoken(asList(""));
person.setUpdated(new Date());
person.setLivingArrangement("");
List<Enum<LookingFor>> lookingFor = Lists.newArrayList();
Enum<LookingFor> lookingForOne = new EnumImpl<LookingFor>(LookingFor.RANDOM);
Enum<LookingFor> lookingForTwo = new EnumImpl<LookingFor>(LookingFor.NETWORKING);
lookingFor.add(lookingForOne);
lookingFor.add(lookingForTwo);
person.setLookingFor(lookingFor);
person.setMovies(asList(""));
person.setMusic(asList(""));
NameDb name = new NameDb();
name.setAdditionalName("");
name.setFamilyName("");
name.setGivenName("");
name.setHonorificPrefix("");
name.setHonorificSuffix("");
name.setFormatted("");
person.setName(name);
person.setNetworkPresence(new EnumDb<NetworkPresence>(NetworkPresence.ONLINE));
person.setNickname("");
person.setPets("");
List<ListField> phoneNumbers = new ArrayList<ListField>();
PhoneDb phone1 = new PhoneDb();
phone1.setValue("");
phone1.setType("");
PhoneDb phone2 = new PhoneDb();
phone2.setValue("");
phone2.setType("");
phoneNumbers.add(phone1);
phoneNumbers.add(phone2);
person.setPhoneNumbers(phoneNumbers);
person.setPoliticalViews("");
person.setProfileSong(buildUrl("", "Link Text", "URL"));
person.setProfileUrl("");
person.setProfileVideo(buildUrl("", "Link Text", "URL"));
person.setQuotes(asList(""));
person.setRelationshipStatus("");
person.setReligion("");
person.setRomance("");
person.setScaredOf("");
person.setSexualOrientation("");
person.setSmoker(new EnumDb<Smoker>(Smoker.NO));
person.setSports(asList(""));
person.setStatus("");
person.setTags(asList(""));
person.setUtcOffset(-8L);
person.setTurnOffs(asList(""));
person.setTurnOns(asList(""));
person.setTvShows(asList(""));
List<Url> urls = new ArrayList<Url>();
urls.add(buildUrl("", "", "Profile"));
urls.add(buildUrl("", "", "Thumbnail"));
person.setUrls(urls);
List<ListField> photos = new ArrayList<ListField>();
PhotoDb photo = new PhotoDb();
photo.setValue("");
photo.setType("thumbnail");
photos.add(photo);
person.setPhotos(photos);
return person;
}