Package org.omg.uml.behavioralelements.statemachines

Examples of org.omg.uml.behavioralelements.statemachines.Transition


    /**
     * @see org.andromda.metafacades.uml.EventFacade#getTransition()
     */
    protected Object handleGetTransition()
    {
        Transition eventTransition = null;

        final Collection allTransitions =
            UML14MetafacadeUtils.getModel().getStateMachines().getTransition().refAllOfType();
        for (final Iterator iterator = allTransitions.iterator(); iterator.hasNext() && eventTransition == null;)
        {
            final Transition transition = (Transition)iterator.next();
            if (metaObject.equals(transition.getTrigger()))
            {
                eventTransition = transition;
            }
        }

View Full Code Here


        super(metaObject, context);
    }

    protected Object handleGetTransition()
    {
        Transition effectTransition = null;

        final Collection allTransitions = UML14MetafacadeUtils.getModel().getStateMachines().getTransition().refAllOfType();
        for (final Iterator iterator = allTransitions.iterator(); iterator.hasNext() && effectTransition == null;)
        {
            Transition transition = (Transition)iterator.next();
            if (metaObject.equals(transition.getEffect()))
            {
                effectTransition = transition;
            }
        }
View Full Code Here

TOP

Related Classes of org.omg.uml.behavioralelements.statemachines.Transition

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.