Package org.andromda.core.common

Examples of org.andromda.core.common.TemplateObject


        final Collection templateObjects = this.library.getTemplateObjects();
        assertNotNull(templateObjects);
        assertEquals(
            1,
            templateObjects.size());
        TemplateObject templateObject = ((TemplateObject)templateObjects.iterator().next());
        assertEquals("utils", templateObject.getName());
        assertEquals("test",templateObject.getNamespace());
        LibraryTemplateObject object = (LibraryTemplateObject)templateObject.getObject();
        assertNotNull(object);
        assertEquals("3", object.getDefinitionOne());
    }
View Full Code Here


        final Collection templateObjects = this.cartridge.getTemplateObjects();
        assertNotNull(templateObjects);
        assertEquals(
            1,
            templateObjects.size());
        TemplateObject templateObject = ((TemplateObject)templateObjects.iterator().next());
        assertEquals("utils", templateObject.getName());
        assertEquals("test",templateObject.getNamespace());
        CartridgeTemplateObject object = (CartridgeTemplateObject)templateObject.getObject();
        assertNotNull(object);
        assertEquals("3", object.getDefinitionOne());
       
    }
View Full Code Here

TOP

Related Classes of org.andromda.core.common.TemplateObject

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.