Package sample.hello.bean

Examples of sample.hello.bean.Address


    return store;
  }
 
  private static void initOneContact() {
    Address[] addrs = {
      new Address("Shanghai", "Long Hua Street"),
      new Address("Shanghai", "Dong Quan Street")
    };
    Contact cHuang = new Contact("huangyim", "Huang Yi Ming", Arrays.asList(addrs));
    store.put(cHuang.getId(), cHuang);
  }
View Full Code Here


   
    System.out.println("===== Create foo =====");
    postForm(r, "foo", "bar");
   
    Address[] addrs = {
      new Address("Shanghai", "Ke Yuan Street")
    };
    Contact cnt = new Contact("guoqing", "Guo Qing", Arrays.asList(addrs));
   
    System.out.println("===== Create guoqing =====");
    putOneContact(r, cnt);
View Full Code Here

TOP

Related Classes of sample.hello.bean.Address

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.