Package net.sf.jmd.metarepresentation

Examples of net.sf.jmd.metarepresentation.IMetaRepresentation


            }
        }
    }

    protected void initLists() {
        IMetaRepresentation metaRepresentation = MetaRepresentation
                .getInstance();

        List<IModelItem> amModelItems = metaRepresentation
                .getModelItems(Model.Type.AM);

        List<IModelItem> dmModelItems = metaRepresentation
                .getModelItems(Model.Type.DM);

        for (IModelItem item : amModelItems) {
            amModelElements.add((IModelElement) item);
        }
View Full Code Here


        }
       
    }

    public void testImports() {
        IMetaRepresentation rep = MetaRepresentation.getInstance();
       
        List<IModelItem> elements = rep.getAmModel().getItems();

        IModelItem importsALot = null;
        for (IModelItem item : elements) {
            if (item.getIdentifier().equals("ImportsALot")){
                importsALot = item;
View Full Code Here

        assertEquals("java.util.List", importsALot.getImports().get(1));
    }
   
    public void testExtends() {
      
        IMetaRepresentation rep = MetaRepresentation.getInstance();
        List<IModelItem> elements = rep.getAmModel().getItems();
       
        IModelItem extendsALot = null;
        for (IModelItem item : elements) {
            if (item.getIdentifier().equals("IExtendALot")){
                extendsALot = item;
View Full Code Here

        }
       
    }
   
    public void testImplements() {
        IMetaRepresentation rep = MetaRepresentation.getInstance();
        List<IModelItem> elements = rep.getAmModel().getItems();
       
        IModelItem implementsALot = null;
        for (IModelItem item : elements) {
            if (item.getIdentifier().equals("ImplementsALot")){
                implementsALot = item;
View Full Code Here

TOP

Related Classes of net.sf.jmd.metarepresentation.IMetaRepresentation

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.