Package org.codehaus.enunciate.examples.objc.schema.vehicles

Examples of org.codehaus.enunciate.examples.objc.schema.vehicles.Seat


        }
       
        Bus bus = new Bus();
        SeatRow rowA = new SeatRow();
        rowA.setRowName("A");
        Seat seatA1 = new Seat();
        seatA1.setNumber(1);
        Seat seatA2 = new Seat(); //empty element
        Seat seatA3 = new Seat();
        seatA3.setNumber(3);
        rowA.setSeats(Arrays.asList(seatA1, seatA2, seatA3));
        bus.setSeatRows(Arrays.asList(rowA));
        bus = processThroughXml(bus);
        assertNotNull(bus.getSeatRows());
        assertEquals(1, bus.getSeatRows().size());
View Full Code Here

TOP

Related Classes of org.codehaus.enunciate.examples.objc.schema.vehicles.Seat

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.