Package org.apache.shindig.social.opensocial.jpa

Examples of org.apache.shindig.social.opensocial.jpa.AddressDb


    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));
View Full Code Here


  private Address getNewAddress(int i) {
    Address address = findOne(AddressDb.FINDBY_POSTCODE, new String[] { AddressDb.PARAM_POSTCODE },
        new Object[] { String.valueOf(i % 10) });
    if (address == null) {
      address = new AddressDb();
      address.setCountry("UK");
      address.setLatitude(new Float(0.5));
      address.setLongitude(new Float(0.0));
      address.setPostalCode(String.valueOf(i % 10));
      address.setRegion("CAMBS");
View Full Code Here

   
    person.setBooks(asList("The Cathedral & the Bazaar","Catch 22"));
    person.setCars(asList("beetle","prius"));
    person.setChildren("3");
   
    AddressDb currentLocation = new AddressDb();
    currentLocation.setLatitude(48.858193F);
    currentLocation.setLongitude(2.29419F);
    person.setCurrentLocation(currentLocation);
       
    person.setBirthday(buildDate("1975-01-01"));
    person.setDisplayName("Shin Digg");
    person.setDrinker(new EnumDb<Drinker>(Drinker.SOCIALLY));
View Full Code Here

   
    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));
View Full Code Here

TOP

Related Classes of org.apache.shindig.social.opensocial.jpa.AddressDb

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.