Package com.impetus.client.couchdb.entities

Examples of com.impetus.client.couchdb.entities.AddressCouchMTM


        emf.close();
    }

    @Test
    public void testCRUD() {
        AddressCouchMTM address1 = new AddressCouchMTM();
        address1.setAddressId("a");
        address1.setStreet("sector 11");

        AddressCouchMTM address2 = new AddressCouchMTM();
        address2.setAddressId("b");
        address2.setStreet("sector 12");

        AddressCouchMTM address3 = new AddressCouchMTM();
        address3.setAddressId("c");
        address3.setStreet("sector 13");

        Set<AddressCouchMTM> addresses1 = new HashSet<AddressCouchMTM>();
        addresses1.add(address1);
        addresses1.add(address2);
View Full Code Here


        Assert.assertNull(foundPerson2);
    }

    @Test
    public void testQuery() {
        AddressCouchMTM address1 = new AddressCouchMTM();
        address1.setAddressId("a");
        address1.setStreet("sector 11");

        AddressCouchMTM address2 = new AddressCouchMTM();
        address2.setAddressId("b");
        address2.setStreet("sector 12");

        AddressCouchMTM address3 = new AddressCouchMTM();
        address3.setAddressId("c");
        address3.setStreet("sector 13");

        Set<AddressCouchMTM> addresses1 = new HashSet<AddressCouchMTM>();
        addresses1.add(address1);
        addresses1.add(address2);
View Full Code Here

TOP

Related Classes of com.impetus.client.couchdb.entities.AddressCouchMTM

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.