Package net.sf.jmd.metarepresentation

Examples of net.sf.jmd.metarepresentation.IModelElement


            = new HashMap<IModelElement, IModelElement>();

        for (IDifference difference : differences) {
            if (difference.getLayer() == IDifference.Layer.MODELITEM) {
               
                IModelElement amItem = difference.getAMElement();
                IModelElement dmItem = difference.getDMElement();

                result.put(amItem, dmItem);
            }
        }
View Full Code Here


        for (IDifference difference : differences) {
            if (difference.getLayer() == IDifference.Layer.MEMBER
                    && difference.getAMElement() instanceof IOperation
                    && difference.getDMElement() instanceof IOperation) {
                IModelElement amItem = difference.getAMElement();
                IModelElement dmItem = difference.getDMElement();

                result.put(amItem, dmItem);
            }
        }
View Full Code Here

        Map<IModelElement, IModelElement> modifiedInterfaces
            = getModifiedInterfaces(currentDifferences);

        for (IModelElement amElement : modifiedInterfaces.keySet()) {
            IModelElement dmElement = modifiedInterfaces.get(amElement);

            List<IMember> amMembers = ((IModelItem) amElement).getMembers();
            List<IMember> dmMembers = ((IModelItem) dmElement).getMembers();

            // compute the removed members
View Full Code Here

        Map<IModelElement, IModelElement> result
            = new HashMap<IModelElement, IModelElement>();

        for (IDifference difference : differences) {
            if (difference.getLayer() == IDifference.Layer.MODELITEM) {
                IModelElement amItem = difference.getAMElement();
                IModelElement dmItem = difference.getDMElement();

                result.put(amItem, dmItem);
            }
        }
View Full Code Here

        for (IDifference difference : differences) {
            if (difference.getLayer() == IDifference.Layer.MEMBER
                    && difference.getAMElement() instanceof IOperation
                    && difference.getDMElement() instanceof IOperation) {
                IModelElement amItem = difference.getAMElement();
                IModelElement dmItem = difference.getDMElement();

                result.put(amItem, dmItem);
            }
        }
View Full Code Here

        Map<IModelElement, IModelElement> result =
            new HashMap<IModelElement, IModelElement>();

        for (IDifference difference : differences) {
            if (difference.getLayer() == IDifference.Layer.MODELITEM) {
                IModelElement amItem = difference.getAMElement();
                IModelElement dmItem = difference.getDMElement();

                result.put(amItem, dmItem);
            }
        }
View Full Code Here

        result += report.getDate() + "\n";

        for (IDifference item : report.getDifferences()) {
       
            IModelElement parent = item.getParentElement();
            String parentIdentifier;
            if (parent == null) {
                parentIdentifier = "-";
            } else {
                parentIdentifier = parent.getIdentifier();
            }
           
            result += "\nDifference (" + item.getName() + "):\n"
                + " Description: " + item.getDescription() + "\n"
                + " Details: \n"
View Full Code Here

        for (IDifference difference : differences) {
            if (difference.getLayer() == IDifference.Layer.MEMBER
                    && difference.getAMElement() instanceof IOperation
                    && difference.getDMElement() instanceof IOperation) {
                IModelElement amItem = difference.getAMElement();
                IModelElement dmItem = difference.getDMElement();

                result.put(amItem, dmItem);
            }
        }
View Full Code Here

        Map<IModelElement, IModelElement> result =
            new HashMap<IModelElement, IModelElement>();

        for (IDifference difference : differences) {
            if (difference.getLayer() == IDifference.Layer.MODELITEM) {
                IModelElement amItem = difference.getAMElement();
                IModelElement dmItem = difference.getDMElement();

                result.put(amItem, dmItem);
            }
        }
View Full Code Here

            = new HashMap<IModelElement, IModelElement>();

        for (IDifference difference : differences) {
            if (difference.getLayer() == IDifference.Layer.MODELITEM) {
               
                IModelElement amItem = difference.getAMElement();
                IModelElement dmItem = difference.getDMElement();

                result.put(amItem, dmItem);
            }
        }
View Full Code Here

TOP

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

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.