Examples of IMetaRepresentation


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

Examples of net.sf.jmd.metarepresentation.IMetaRepresentation

        }
       
    }

    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

Examples of net.sf.jmd.metarepresentation.IMetaRepresentation

        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

Examples of net.sf.jmd.metarepresentation.IMetaRepresentation

        }
       
    }
   
    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
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.