Package siena.base.test.model

Examples of siena.base.test.model.Address


      ent.typeDate = new Date();
      ent.typeString = "str_"+i;
      ent.typeLargeString = new String(longstr);
      ent.typeJson = map().put("foo_"+i, "bar_"+i);
      ent.addresses = new ArrayList<Address>();
      ent.addresses.add(new Address("addr_"+i+"_0", "town_"+i+"_0"));
      ent.addresses.add(new Address("addr_"+i+"_1", "town_"+i+"_1"));
      ent.contacts = new HashMap<String, Contact>();
      ent.contacts.put("id_"+i,
          new Contact("Somebody_"+i, Arrays.asList("foo_"+i, "bar_"+i)));
     
      // Blob
View Full Code Here


    dataTypes.typeDate = new Date();
    dataTypes.typeString = "hello";
    dataTypes.typeLargeString = new String(c);
    dataTypes.typeJson = map().put("foo", "bar");
    dataTypes.addresses = new ArrayList<Address>();
    dataTypes.addresses.add(new Address("Castellana", "Madrid"));
    dataTypes.addresses.add(new Address("Diagonal", "Barcelona"));
    dataTypes.contacts = new HashMap<String, Contact>();
    dataTypes.contacts.put("id1", new Contact("Somebody", Arrays.asList("foo", "bar")));
   
    dataTypes.shortShort = Short.MAX_VALUE;
    dataTypes.intInt = Integer.MAX_VALUE;
View Full Code Here

    dataTypes.typeDate = new Date();
    dataTypes.typeString = "hello";
    dataTypes.typeLargeString = new String(c);
    dataTypes.typeJson = map().put("foo", "bar");
    dataTypes.addresses = new ArrayList<Address>();
    dataTypes.addresses.add(new Address("Castellana", "Madrid"));
    dataTypes.addresses.add(new Address("Diagonal", "Barcelona"));
    dataTypes.contacts = new HashMap<String, Contact>();
    dataTypes.contacts.put("id1", new Contact("Somebody", Arrays.asList("foo", "bar")));
   
    // Blob
    dataTypes.typeBlob = new byte[] {
View Full Code Here

    dataTypes.typeDate = new Date();
    dataTypes.typeString = "hello";
    dataTypes.typeLargeString = new String(c);
    dataTypes.typeJson = map().put("foo", "bar");
    dataTypes.addresses = new ArrayList<Address>();
    dataTypes.addresses.add(new Address("Castellana", "Madrid"));
    dataTypes.addresses.add(new Address("Diagonal", "Barcelona"));
    dataTypes.contacts = new HashMap<String, Contact>();
    dataTypes.contacts.put("id1", new Contact("Somebody", Arrays.asList("foo", "bar")));
   
    dataTypes.shortShort = Short.MAX_VALUE;
    dataTypes.intInt = Integer.MAX_VALUE;
View Full Code Here

    dataTypes.typeDate = new Date();
    dataTypes.typeString = "hello";
    dataTypes.typeLargeString = new String(c);
    dataTypes.typeJson = map().put("foo", "bar");
    dataTypes.addresses = new ArrayList<Address>();
    dataTypes.addresses.add(new Address("Castellana", "Madrid"));
    dataTypes.addresses.add(new Address("Diagonal", "Barcelona"));
    dataTypes.contacts = new HashMap<String, Contact>();
    dataTypes.contacts.put("id1", new Contact("Somebody", Arrays.asList("foo", "bar")));
   
    dataTypes.shortShort = Short.MAX_VALUE;
    dataTypes.intInt = Integer.MAX_VALUE;
View Full Code Here

TOP

Related Classes of siena.base.test.model.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.