/**
 * ObjectRiver Inc, http://www.objectriver.net/
 * Copyright (c) 2002-2013, ObjectRiver(tm). All rights reserved.
 */
Application SimpleBeans = com.companyname {
    Endpoint SimpleBeanIface = 1 {
        Enumeration MyThings { Car=1, House=2, Jeep=3, AnotherJeep=4 };
        Exception SimpleBeanException {};
        Bean Simple {
            Integer myinteger;
            Timestamp mytimestamp;
            Date mydate;
            Double mydouble;
            String mystring;
            MyThings mythings;
        };
        Server Singleton {
			@Path("simpleBeanTrip")
            @Produces(JSON)
            @Consumes(JSON)
            @POST  Simple simpleBeanTrip(@In Simple arg) raises SimpleBeanException;
        };
	};
};