Examples of Alternative1


Examples of uri.cxf_apache_org.jstest.types.any.alts.Alternative1

    }

    public AcceptAny1 returnAny1(ReturnAny1 in) {
        AcceptAny1 r = new AcceptAny1();
        r.setBefore("1before");
        Alternative1 a1 = new Alternative1();
        a1.setChalk("dover");
        r.setAny(a1);
        r.setAfter("1after");
        return r;
    }
View Full Code Here

Examples of uri.cxf_apache_org.jstest.types.any.alts.Alternative1

    public AcceptAnyN returnAnyN(ReturnAnyN in) {
        AcceptAnyN r = new AcceptAnyN();
        r.setBefore("Nbefore");
        r.setAfter("Nafter");
        Object[] objects = new Object[4];
        Alternative1 a1 = new Alternative1();
        a1.setChalk("blackboard");
        objects[0] = a1;
        objects[1] = null;
        Alternative2 a2 = new Alternative2();
        a2.setCheese(42);
        objects[2] = a2;
        a1 = new Alternative1();
        a1.setChalk("sidewalk");
        objects[3] = a1;
        r.getAny().addAll(Arrays.asList(objects));
        return r;
    }
View Full Code Here

Examples of uri.cxf_apache_org.jstest.types.any.alts.Alternative1

                                testUtilities.javaToJS(getAddress()));
        implementor.waitForOneWay();
        assertEquals("before chalk", implementor.getBefore());
        Object someAlternative = implementor.getAny1value();
        assertTrue(someAlternative instanceof Alternative1);
        Alternative1 a1 = (Alternative1) someAlternative;
        assertEquals("bismuth", a1.getChalk());
        assertEquals("after chalk", implementor.getAfter());
        return null;
    }
View Full Code Here

Examples of uri.cxf_apache_org.jstest.types.any.alts.Alternative1

                                testUtilities.javaToJS(getAddress()));
        implementor.waitForOneWay();
        assertEquals("before chalk", implementor.getBefore());
        Object someAlternative = implementor.getAny1value();
        assertTrue(someAlternative instanceof Alternative1);
        Alternative1 a1 = (Alternative1) someAlternative;
        assertEquals("bismuth", a1.getChalk());
        assertEquals("after chalk", implementor.getAfter());
        return null;
    }
View Full Code Here

Examples of uri.cxf_apache_org.jstest.types.any.alts.Alternative1

                                testUtilities.javaToJS(getAddress()));
        implementor.waitForOneWay();
        assertEquals("before chalk", implementor.getBefore());
        Object someAlternative = implementor.getAny1value();
        assertTrue(someAlternative instanceof Alternative1);
        Alternative1 a1 = (Alternative1) someAlternative;
        assertEquals("bismuth", a1.getChalk());
        assertEquals("after chalk", implementor.getAfter());
        return null;
    }
View Full Code Here

Examples of uri.cxf_apache_org.jstest.types.any.alts.Alternative1

    }

    public AcceptAny1 returnAny1(ReturnAny1 in) {
        AcceptAny1 r = new AcceptAny1();
        r.setBefore("1before");
        Alternative1 a1 = new Alternative1();
        a1.setChalk("dover");
        r.setAny(a1);
        r.setAfter("1after");
        return r;
    }
View Full Code Here

Examples of uri.cxf_apache_org.jstest.types.any.alts.Alternative1

    public AcceptAnyN returnAnyN(ReturnAnyN in) {
        AcceptAnyN r = new AcceptAnyN();
        r.setBefore("Nbefore");
        r.setAfter("Nafter");
        Object[] objects = new Object[4];
        Alternative1 a1 = new Alternative1();
        a1.setChalk("blackboard");
        objects[0] = a1;
        objects[1] = null;
        Alternative2 a2 = new Alternative2();
        a2.setCheese(42);
        objects[2] = a2;
        a1 = new Alternative1();
        a1.setChalk("sidewalk");
        objects[3] = a1;
        r.getAny().addAll(Arrays.asList(objects));
        return r;
    }
View Full Code Here

Examples of uri.cxf_apache_org.jstest.types.any.alts.Alternative1

        testUtilities.rhinoCall("testAny1ToServerChalk"
                                testUtilities.javaToJS(getAddress()));
        assertEquals("before chalk", implementor.getBefore());
        Object someAlternative = implementor.getAny1value();
        assertTrue(someAlternative instanceof Alternative1);
        Alternative1 a1 = (Alternative1) someAlternative;
        assertEquals("bismuth", a1.getChalk());
        assertEquals("after chalk", implementor.getAfter());
        return null;
    }
View Full Code Here

Examples of uri.cxf_apache_org.jstest.types.any.alts.Alternative1

    }

    public AcceptAny1 returnAny1(ReturnAny1 in) {
        AcceptAny1 r = new AcceptAny1();
        r.setBefore("1before");
        Alternative1 a1 = new Alternative1();
        a1.setChalk("dover");
        r.setAny(a1);
        r.setAfter("1after");
        return r;
    }
View Full Code Here

Examples of uri.cxf_apache_org.jstest.types.any.alts.Alternative1

    public AcceptAnyN returnAnyN(ReturnAnyN in) {
        AcceptAnyN r = new AcceptAnyN();
        r.setBefore("Nbefore");
        r.setAfter("Nafter");
        Object[] objects = new Object[4];
        Alternative1 a1 = new Alternative1();
        a1.setChalk("blackboard");
        objects[0] = a1;
        objects[1] = null;
        Alternative2 a2 = new Alternative2();
        a2.setCheese(42);
        objects[2] = a2;
        a1 = new Alternative1();
        a1.setChalk("sidewalk");
        objects[3] = a1;
        r.getAny().addAll(Arrays.asList(objects));
        return r;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.