Package org.openengsb.core.services.internal.model

Examples of org.openengsb.core.services.internal.model.SubModel


    private NullModel createTestModel() {
        NullModel model = new NullModel();
        model.setId(20);
        model.setValue("test");
        SubModel sub1 = new SubModel();
        sub1.setId("sub1");
        sub1.setName("test1");
        SubModel sub2 = new SubModel();
        sub2.setId("sub2");
        sub2.setName("test2");
        model.setSubs(Arrays.asList(sub1, sub2));
        ModelWrapper wrapper = ModelWrapper.wrap(model);
        wrapper.addOpenEngSBModelEntry(new OpenEngSBModelEntry("test", "test", String.class));
        wrapper.addOpenEngSBModelEntry(new OpenEngSBModelEntry("test2", "test2", String.class));
        return model;
View Full Code Here

TOP

Related Classes of org.openengsb.core.services.internal.model.SubModel

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.