Package com.vst.model.ext

Examples of com.vst.model.ext.GeoCity


    } else if (code == 1) {
      item = new GeoMacroRegion();
    } else if (code == 2) {
      item = new GeoProvince();
    } else if (code == 3) {
      item = new GeoCity();
    } else {
      item = new GeoClassificator();
    }
    children = new ArrayList<GeoTreeItemDto>();
  }
View Full Code Here


      } else if (code == 1){
        item = new GeoMacroRegion();
      } else if (code == 2){
        item = new GeoProvince();
      } else if (code == 3){
        item = new GeoCity();
      }else{
        item = new GeoClassificator();
      }
      children = new ArrayList<RTreeItem>();
    }
View Full Code Here

        // set required fields
        user.setUsername("foo");
        user.setPassword("bar");
        user.setFirstName("first");
        user.setLastName("last");
        user.getAddress().setCity(new GeoCity("Denver"));
        user.getAddress().setPostalCode("80465");
        user.setEmail("foo@bar.com");

        // create
        dao.saveObject(user);
View Full Code Here

        User user = new User("testuser");
        user.setPassword("testpass");
        user.setFirstName("Test");
        user.setLastName("Last");
        Address address = new Address();
        address.setCity(new GeoCity("Denver"));
        address.setProvince(new GeoProvince("CO"));
        address.setCountry(new GeoCountry("USA"));
        address.setPostalCode("80210");
        user.setAddress(address);
        user.setEmail("testuser@appfuse.org");
View Full Code Here

TOP

Related Classes of com.vst.model.ext.GeoCity

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.