Package org.openengsb.core.ekb.transformation.wonderland.models

Examples of org.openengsb.core.ekb.transformation.wonderland.models.NestedObject


        installTransformation(desc);

        ModelA model = new ModelA();
        model.setIdA("test1");

        NestedObject nested = new NestedObject();
        nested.setValue1("test2");
        nested.setValue2("test3");
        model.setNested(nested);

        ModelB result = transformModelAToModelB(model);

        assertThat(result.getIdB(), is("test1"));
View Full Code Here


        installTransformation(desc);

        ModelA model = new ModelA();
        model.setIdA("test1");

        NestedObject nested = new NestedObject();
        nested.setValue1("test2");
        nested.setValue2("test3");
        model.setNested(nested);

        ModelB result = transformModelAToModelB(model);

        assertThat(result.getIdB(), is("test1"));
View Full Code Here

        ModelA model = new ModelA();
        model.setIdA("test1");
        model.setBlaA("test2");
        model.setBlubA("test3");

        NestedObject nested = new NestedObject();
        model.setNested(nested);

        ModelB result = transformModelAToModelB(model);

        assertThat(result.getIdB(), is("test1"));
View Full Code Here

TOP

Related Classes of org.openengsb.core.ekb.transformation.wonderland.models.NestedObject

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.