Package org.andromda.metafacades.uml

Examples of org.andromda.metafacades.uml.ServiceOperation


        {
            public void execute(Object object)
            {
                if (object instanceof ServiceOperation)
                {
                    final ServiceOperation operation = (ServiceOperation)object;
                    if (operation.isIncomingMessageOperation())
                    {
                        destinations.add(operation.getIncomingDestination());
                    }
                    else if (operation.isOutgoingMessageOperation())
                    {
                        destinations.add(operation.getOutgoingDestination());
                    }
                }
            }
        });
        return destinations;
View Full Code Here


        {
            public void execute(Object object)
            {
                if (object instanceof ServiceOperation)
                {
                    final ServiceOperation operation = (ServiceOperation)object;
                    if (operation.isIncomingMessageOperation())
                    {
                        destinations.add(operation.getIncomingDestination());
                    }
                    else if (operation.isOutgoingMessageOperation())
                    {
                        destinations.add(operation.getOutgoingDestination());
                    }
                }
            }
        });
        return destinations;
View Full Code Here

    protected boolean handleIsBackEndServiceOperationMatchingParameters()
    {
        boolean matches = true;

        final ServiceOperation serviceOperation = getBackEndServiceOperation();

        // cache this operation's parameters for easy lookup
        final Map parameterMap = new HashMap();
        final Collection controllerParameters = getParameters();
        for (final Iterator iterator = controllerParameters.iterator(); iterator.hasNext();)
        {
            final ParameterFacade parameter = (ParameterFacade)iterator.next();
            parameterMap.put(parameter.getName(), parameter.getType());
        }

        // make sure that any service parameter exists here too
        final Collection serviceParameters = serviceOperation.getParameters();
        for (final Iterator iterator = serviceParameters.iterator(); iterator.hasNext() && matches;)
        {
            final ParameterFacade serviceParameter = (ParameterFacade)iterator.next();
            final ClassifierFacade controllerParameterType = (ClassifierFacade)parameterMap.get(
                serviceParameter.getName());
View Full Code Here

TOP

Related Classes of org.andromda.metafacades.uml.ServiceOperation

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.