Package org.jsondoc.sample.pojo

Examples of org.jsondoc.sample.pojo.Country


  public @ResponseBody @ApiResponseObject Country getCountryByName(@PathVariable @ApiParam(name="name", paramType=ApiParamType.PATH) String name) {
    List<City> cities = new ArrayList<City>();
    cities.add(new City("Sydney", 19329, 43));
    cities.add(new City("Melbourne", 85743, 12));
    cities.add(new City("Perth", 58735, 39));
    return new Country(32198, 5487, "Australia", cities, Continent.AUSTRALIA);
  }
View Full Code Here

TOP

Related Classes of org.jsondoc.sample.pojo.Country

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.