Package siena.base.test.model

Examples of siena.base.test.model.Contact


      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
      byte[] blob = new byte[5000];
      Arrays.fill(blob, _byte++);
      ent.typeBlob = blob;
View Full Code Here


    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;
    dataTypes.longLong = Long.MAX_VALUE;
    dataTypes.boolBool = Boolean.TRUE;
View Full Code Here

    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[] {
        (byte)0x01, (byte)0x02, (byte)0x03, (byte)0x04,
        (byte)0x10(byte)0X11, (byte)0xF0, (byte)0xF1,
View Full Code Here

    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;
    dataTypes.longLong = Long.MAX_VALUE;
    dataTypes.boolBool = Boolean.TRUE;
View Full Code Here

    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;
    dataTypes.longLong = Long.MAX_VALUE;
    dataTypes.boolBool = Boolean.TRUE;
View Full Code Here

TOP

Related Classes of siena.base.test.model.Contact

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.